Add the possibility to build without the ENGINE framework.
[openssl.git] / crypto / dsa / dsa_ossl.c
index 70d60d9e2962088a2afd6b449987e05af2257a95..3a8d2bbc3596395709eecdcc9ab4aeed7b04996f 100644 (file)
@@ -64,7 +64,9 @@
 #include <openssl/dsa.h>
 #include <openssl/rand.h>
 #include <openssl/asn1.h>
+#ifndef OPENSSL_NO_ENGINE
 #include <openssl/engine.h>
+#endif
 
 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp);