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

crypto/ecdsa/ecdsatest.c

index 70f2cc4..a481575 100644 (file)
@@ -93,7 +93,9 @@ int main(int argc, char * argv[])
 #include <openssl/bio.h>
 #include <openssl/evp.h>
 #include <openssl/ecdsa.h>
+#ifndef OPENSSL_NO_ENGINE
 #include <openssl/engine.h>
+#endif
 #include <openssl/err.h>
 #include <openssl/rand.h>