Wrap the inclusion of openssl/engine.h with a protective check for
authorRichard Levitte <levitte@openssl.org>
Thu, 23 Jun 2005 21:57:40 +0000 (21:57 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 23 Jun 2005 21:57:40 +0000 (21:57 +0000)
the absence of OPENSSL_NO_ENGINE.

PR: 1123

crypto/store/str_lib.c

index 9a66d6d..c0ad763 100644 (file)
@@ -59,7 +59,9 @@
 #include <string.h>
 #include <openssl/bn.h>
 #include <openssl/err.h>
+#ifndef OPENSSL_NO_ENGINE
 #include <openssl/engine.h>
+#endif
 #include <openssl/sha.h>
 #include <openssl/x509.h>
 #include "str_locl.h"