Merge branch 'refs/heads/t/ssh'
[paraslash.git] / openssl.c
index 9782b5e23cd0530d521f098d2683dc83230b0c78..5f04c845c6ec1e8b5d837f827233df425033fad4 100644 (file)
--- a/openssl.c
+++ b/openssl.c
@@ -57,7 +57,9 @@ void crypt_init(void)
 
 void crypt_shutdown(void)
 {
+#ifdef HAVE_CRYPTO_CLEANUP_ALL_EX_DATA
        CRYPTO_cleanup_all_ex_data();
+#endif
 }
 
 /*