httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_init.c
Date Tue, 05 Aug 2003 22:49:42 GMT
wrowe       2003/08/05 15:49:42

  Modified:    modules/ssl ssl_engine_init.c
  Log:
    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.
  
  Revision  Changes    Path
  1.117     +6 -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.116
  retrieving revision 1.117
  diff -u -r1.116 -r1.117
  --- ssl_engine_init.c	17 Jun 2003 17:44:40 -0000	1.116
  +++ ssl_engine_init.c	5 Aug 2003 22:49:42 -0000	1.117
  @@ -200,6 +200,12 @@
       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
        */
  
  
  

Mime
View raw message