]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backport from HEAD:
authorJoe Orton <jorton@apache.org>
Tue, 2 Dec 2003 14:23:25 +0000 (14:23 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 2 Dec 2003 14:23:25 +0000 (14:23 +0000)
* ssl_util.c (ssl_util_thread_cleanup): Clear the id_callback.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@101953 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/ssl/ssl_util.c

diff --git a/CHANGES b/CHANGES
index f54fd82e4bfa62026d70a61d306a300d0583c3c0..8dc63159c6c36c57eb5b530b2fde4f8db8d2fa3a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
 Changes with Apache 2.0.49
 
+  *) mod_ssl: Fix segfaults at startup if other modules which use OpenSSL
+     are also loaded.  [Joe Orton]
+
   *) mod_ssl: Use human-readable OpenSSL error strings in logs; use
      thread-safe interface for retrieving error strings.  [Joe Orton]
 
diff --git a/STATUS b/STATUS
index 09b504356b841bcb04e450b2097b7cf6870c38f0..18d6c8c940929d8594dc1907ac33d723aec95b69 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -1,5 +1,5 @@
 APACHE 2.0 STATUS:                                              -*-text-*-
-Last modified at [$Date: 2003/12/02 14:21:26 $]
+Last modified at [$Date: 2003/12/02 14:23:23 $]
 
 Release:
 
@@ -80,13 +80,6 @@ PATCHES TO BACKPORT FROM 2.1
       +1: stoddard
       +1 (concept): trawick (looks reasonable when compared with worker)
 
-    * Don't leave the OpenSSL "id_callback" pointer dangling after
-      unloading mod_ssl; this fixes segfaults during startup if
-      other modules (or libraries used by other modules, e.g. PHP
-      stuff) use OpenSSL.
-      modules/ssl/ssl_util.c: r1.40
-      +1: jorton, trawick, stoddard
-
     * Prevent mod_proxy from sending an invalid status-line to clients
       in some cases.
       modules/proxy/proxy_http.c: r1.172
index e4ec2fa30617acde562bd8af3df31b0f5560d151..3f8c74d86e50828de7c15a6d0bea77cebc140d35 100644 (file)
@@ -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 
      */