Commit 3c0f8c60 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Although we initialize mc->pid in the child init phase,
  we haven't initialized it before initially performing
  our ssl_rand_seed() in the parent/postconfig phase.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@100912 13f79535-47bb-0310-9956-ffa450edef68
parent f27028b4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -200,6 +200,12 @@ int ssl_init_Module(apr_pool_t *p, apr_pool_t *plog,
    SSLSrvConfigRec *sc;
    server_rec *s;

    /* We initialize mc->pid per-process in the child init,
     * but it should be initialized for startup before we
     * call ssl_rand_seed() below.
     */
    mc->pid = getpid(); 

    /*
     * Let us cleanup on restarts and exists
     */