Do not include openssl/ripemd.h when the RIPEMD algorithm has been deselected.
authorRichard Levitte <levitte@openssl.org>
Mon, 12 Aug 2002 21:22:00 +0000 (21:22 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 12 Aug 2002 21:22:00 +0000 (21:22 +0000)
PR: 216, point 1

crypto/ripemd/rmdtest.c

index 19e9741..be1fb8b 100644 (file)
@@ -59,7 +59,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#include <openssl/ripemd.h>
 
 #ifdef OPENSSL_NO_RIPEMD
 int main(int argc, char *argv[])
@@ -68,6 +67,7 @@ int main(int argc, char *argv[])
     return(0);
 }
 #else
+#include <openssl/ripemd.h>
 #include <openssl/evp.h>
 
 #ifdef CHARSET_EBCDIC