From: Joe Orton Date: Thu, 24 Jul 2003 15:35:05 +0000 (+0000) Subject: Prevent the OpenSSL id_callback from pointing at a mod_ssl X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1976eebff06f862ddca8e9c218bab8c204c12d25;p=thirdparty%2Fapache%2Fhttpd.git 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/modules/ssl@100767 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_util.c b/ssl_util.c index b8736f92097..f5dbc8796da 100644 --- a/ssl_util.c +++ b/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 */