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 19e9741db2ae67db5cd3ca4a57cca7b6bb939489..be1fb8b1f6d200c253b58c0a93c1c43e3c3ecbda 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