aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-09-19 11:33:14 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-09-19 11:33:14 +0200
commitde71e68000c8624ea13f90b136f8734dd0fb1bdc (patch)
treee88e0aca5a937490d74031761d98b3a3709adfa5 /configure.ac
parentfb0032a33e3c3705f45ea09a1a55ac0b1d4f0fd6 (diff)
openssl: don’t call CRYTPO_cleanup_all_ex_data
The OpenSSL function CRYTPO_cleanup_all_ex_data() cannot be called multiple times without crashing - and other libs might call it! We basically cannot call it without risking a crash. The function is a no-op since OpenSSL 1.1.0. Not calling this function only risks a small memory leak with OpenSSL < 1.1.0. Bug: https://curl.haxx.se/mail/lib-2016-09/0045.html Reported-by: Todd Short
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1040a07fb..f7f8e0c5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1639,7 +1639,6 @@ if test "$curl_ssl_msg" = "$init_ssl_msg" && test X"$OPT_SSL" != Xno; then
RAND_screen \
RAND_egd \
ENGINE_cleanup \
- CRYPTO_cleanup_all_ex_data \
SSL_get_shutdown \
SSLv2_client_method )