httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl mod_ssl.c
Date Thu, 30 Oct 2003 12:07:06 GMT
jorton      2003/10/30 04:07:06

  Modified:    modules/ssl mod_ssl.c
  Log:
  Fix missing human-readable error information in SSL log messages:
  
  * mod_ssl.c (ssl_cleanup_pre_config): Don't free the error strings,
  since they can't be loaded again once.
  
  Revision  Changes    Path
  1.88      +5 -1      httpd-2.0/modules/ssl/mod_ssl.c
  
  Index: mod_ssl.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/mod_ssl.c,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -u -u -r1.87 -r1.88
  --- mod_ssl.c	12 Aug 2003 20:58:53 -0000	1.87
  +++ mod_ssl.c	30 Oct 2003 12:07:06 -0000	1.88
  @@ -255,7 +255,11 @@
   #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:
  
  
  

Mime
View raw message