Do not include openssl/ripemd.h when the RIPEMD algorithm has been deselected.

PR: 216, point 1
This commit is contained in:
Richard Levitte 2002-08-12 21:22:00 +00:00
parent f13ddd5d0a
commit 83348e0b80

View 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