]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - ssl/ssltest.c
Add the possibility to build without the ENGINE framework.
[thirdparty/openssl.git] / ssl / ssltest.c
index fc27f018d1584094e06eb7731aad4c9eb194327b..49360d5f9f064bb1a70c2294adc72dd94a4af41b 100644 (file)
 #include <openssl/evp.h>
 #include <openssl/x509.h>
 #include <openssl/ssl.h>
+#ifndef OPENSSL_NO_ENGINE
 #include <openssl/engine.h>
+#endif
 #include <openssl/err.h>
 #include <openssl/rand.h>
 
@@ -828,7 +830,9 @@ end:
 #ifndef OPENSSL_NO_RSA
        free_tmp_rsa();
 #endif
+#ifndef OPENSSL_NO_ENGINE
        ENGINE_cleanup();
+#endif
        CRYPTO_cleanup_all_ex_data();
        ERR_free_strings();
        ERR_remove_state(0);