aboutsummaryrefslogtreecommitdiff
path: root/lib/ssluse.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-19 09:56:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-19 09:56:16 +0000
commita8c78cbbb091969f692715dd4e6eb160bba3afb8 (patch)
tree06715691653910ae664463e9d5a18c148dacd736 /lib/ssluse.c
parent3a5a6038e7b8f7101e5c50992c62e0a2882b95a1 (diff)
CRYPTO_cleanup_all_ex_data() is not present in all OpenSSL versions so
we need to check for its presence in the configure script
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r--lib/ssluse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index a05a31428..a31cb13dc 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -437,7 +437,11 @@ void Curl_SSL_cleanup(void)
ENGINE_cleanup();
#endif
+#ifdef HAVE_CRYPTO_CLEANUP_ALL_EX_DATA
+ /* this function was not present in 0.9.6b, but was added sometimes
+ later */
CRYPTO_cleanup_all_ex_data();
+#endif
init_ssl=0; /* not inited any more */
}