Inclusion of openssl/engine.h should always be wrapped with a check that
authorRichard Levitte <levitte@openssl.org>
Mon, 4 Aug 2003 10:12:36 +0000 (10:12 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 4 Aug 2003 10:12:36 +0000 (10:12 +0000)
OPENSSL_NO_ENGINE is not defined.

crypto/evp/c_all.c

index 879d84a..fa60a73 100644 (file)
@@ -59,7 +59,9 @@
 #include <stdio.h>
 #include "cryptlib.h"
 #include <openssl/evp.h>
+#ifndef OPENSSL_NO_ENGINE
 #include <openssl/engine.h>
+#endif
 
 #if 0
 #undef OpenSSL_add_all_algorithms