httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: httpd-2.0/modules/tls mod_tls.c
Date Fri, 27 Apr 2001 15:16:45 GMT
martin      01/04/27 08:16:45

  Modified:    modules/tls mod_tls.c
  Log:
  Prevent a core dump (openssl_state_machine.c is completely infected with
  assert()s in place of sensible error handling) when a server-root-relative
  certificate path is given (which is what most users are going to try first).
    assertion "n > 0" failed: file "openssl_state_machine.c", line 142
  That does NOT fix the openssl_state_machine.c though., So, never try to
  use invalid certs, missing keys or other fancy "1st time user" stuff.
  
  Revision  Changes    Path
  1.9       +1 -1      httpd-2.0/modules/tls/mod_tls.c
  
  Index: mod_tls.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/tls/mod_tls.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -u -r1.8 -r1.9
  --- mod_tls.c	2001/04/27 14:41:54	1.8
  +++ mod_tls.c	2001/04/27 15:16:41	1.9
  @@ -109,7 +109,7 @@
   {
       TLSServerConfig *pConfig = ap_get_module_config(cmd->server->module_config,
   						    &tls_module);
  -    pConfig->szCertificateFile = arg;
  +    pConfig->szCertificateFile = ap_server_root_relative(cmd->pool, arg);
   
       /* temp */
       pConfig->szKeyFile=pConfig->szCertificateFile;
  
  
  

Mime
View raw message