Add the possibility to build without the ENGINE framework.
[openssl.git] / crypto / rsa / rsa_test.c
index b8b462d33b56e2a9b565b77dda742caf2758a4c5..99abb1fde782fc2748b6ac4cbd3bd6fae2a7b496 100644 (file)
@@ -16,7 +16,9 @@ int main(int argc, char *argv[])
 }
 #else
 #include <openssl/rsa.h>
+#ifndef OPENSSL_NO_ENGINE
 #include <openssl/engine.h>
+#endif
 
 #define SetKey \
   key->n = BN_bin2bn(n, sizeof(n)-1, key->n); \