Add the possibility to build without the ENGINE framework.
[openssl.git] / crypto / engine / engine.h
index 44b3849b25c7c4425a93033abf7130682a1dfa65..43500a86767bc03403fafcccdfae54a111977c2d 100644 (file)
 #define HEADER_ENGINE_H
 
 #include <openssl/opensslconf.h>
+
+#ifdef OPENSSL_NO_ENGINE
+#error ENGINE is disabled.
+#endif
+
 #include <openssl/ossl_typ.h>
 #include <openssl/bn.h>
 #ifndef OPENSSL_NO_RSA