mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
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@100912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user