httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_init.c
Date Thu, 28 Feb 2002 03:12:11 GMT
dougm       02/02/27 19:12:11

  Modified:    modules/ssl ssl_engine_init.c
  Log:
  need to free sc->pRevocationStore at shutdown
  
  Revision  Changes    Path
  1.32      +4 -0      httpd-2.0/modules/ssl/ssl_engine_init.c
  
  Index: ssl_engine_init.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_init.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- ssl_engine_init.c	28 Feb 2002 00:28:05 -0000	1.31
  +++ ssl_engine_init.c	28 Feb 2002 03:12:11 -0000	1.32
  @@ -953,6 +953,10 @@
        */
       for (; s != NULL; s = s->next) {
           sc = mySrvConfig(s);
  +        if (sc->pRevocationStore != NULL) {
  +            X509_STORE_free(sc->pRevocationStore);
  +            sc->pRevocationStore = NULL;
  +        }
           if (sc->pPublicCert[SSL_AIDX_RSA] != NULL) {
               X509_free(sc->pPublicCert[SSL_AIDX_RSA]);
               sc->pPublicCert[SSL_AIDX_RSA] = NULL;
  
  
  

Mime
View raw message