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

crypto/evp/c_all.c

index 879d84ae79baa3f991557a4c708356cc560a4319..fa60a73ead1338330d2c9f91139db1a2f8287081 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