summaryrefslogtreecommitdiffstats
path: root/modules/ssl/ssl_util.c
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2003-07-24 17:35:05 +0200
committerJoe Orton <jorton@apache.org>2003-07-24 17:35:05 +0200
commit3b7ec87745b8ef1866f841efe67ce8f561c51c5b (patch)
treecf737214a487735bd3960f88622a1a19778f8c06 /modules/ssl/ssl_util.c
parentFix typos. (diff)
downloadapache2-3b7ec87745b8ef1866f841efe67ce8f561c51c5b.tar.xz
apache2-3b7ec87745b8ef1866f841efe67ce8f561c51c5b.zip
Prevent the OpenSSL id_callback from pointing at a mod_ssl
function after mod_ssl is unloaded. * ssl_util.c (ssl_util_thread_cleanup): Clear the id_callback. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100767 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl/ssl_util.c')
-rw-r--r--modules/ssl/ssl_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ssl/ssl_util.c b/modules/ssl/ssl_util.c
index b8736f9209..f5dbc8796d 100644
--- a/modules/ssl/ssl_util.c
+++ b/modules/ssl/ssl_util.c
@@ -454,6 +454,7 @@ static unsigned long ssl_util_thr_id(void)
static apr_status_t ssl_util_thread_cleanup(void *data)
{
CRYPTO_set_locking_callback(NULL);
+ CRYPTO_set_id_callback(NULL);
/* Let the registered mutex cleanups do their own thing
*/