You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by do...@apache.org on 2002/02/28 04:12:11 UTC

cvs commit: httpd-2.0/modules/ssl ssl_engine_init.c

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;