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 9a66d6d609cf72586b98226ec0890c8964a91b09..c0ad763e9a1cc4068f03e97a61e54891681a4c83 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"