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 70f2cc4e8e731af1af0f6d14388a2c70618b9039..a48157541794f89458ad180e388076ff74844d5b 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>