]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix missing human-readable error information in SSL log messages:
authorJoe Orton <jorton@apache.org>
Thu, 30 Oct 2003 12:07:06 +0000 (12:07 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 30 Oct 2003 12:07:06 +0000 (12:07 +0000)
* mod_ssl.c (ssl_cleanup_pre_config): Don't free the error strings,
since they can't be loaded again once.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@101624 13f79535-47bb-0310-9956-ffa450edef68

mod_ssl.c

index c404c4908ef26285b7887148424e676248b65794..cdff9f61038c18381254073cd991ea3b11b5ab0d 100644 (file)
--- a/mod_ssl.c
+++ b/mod_ssl.c
@@ -255,7 +255,11 @@ static apr_status_t ssl_cleanup_pre_config(void *data)
 #endif
 #endif
     ERR_remove_state(0);
-    ERR_free_strings();
+
+    /* Don't call ERR_free_strings here; ERR_load_*_strings only
+     * actually load the error strings once per process due to static
+     * variable abuse in OpenSSL. */
+
     /* 
      * TODO: determine somewhere we can safely shove out diagnostics 
      *       (when enabled) at this late stage in the game: