You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2003/07/24 17:35:06 UTC
cvs commit: httpd-2.0/modules/ssl ssl_util.c
jorton 2003/07/24 08:35:06
Modified: modules/ssl ssl_util.c
Log:
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.
Revision Changes Path
1.40 +1 -0 httpd-2.0/modules/ssl/ssl_util.c
Index: ssl_util.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_util.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -u -r1.39 -r1.40
--- ssl_util.c 5 Apr 2003 19:32:01 -0000 1.39
+++ ssl_util.c 24 Jul 2003 15:35:05 -0000 1.40
@@ -454,6 +454,7 @@
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
*/