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 ssl_engine_kernel.c
Date Sat, 24 Nov 2001 00:40:15 GMT
dougm       01/11/23 16:40:15

  Modified:    modules/ssl ssl_engine_init.c ssl_engine_kernel.c
  Log:
  don't bother setting the ssl info callback unless SSLLogLevel >= info
  
  Revision  Changes    Path
  1.17      +5 -1      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.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ssl_engine_init.c	2001/11/23 16:35:22	1.16
  +++ ssl_engine_init.c	2001/11/24 00:40:15	1.17
  @@ -561,7 +561,11 @@
       SSL_CTX_sess_set_remove_cb(ctx,   ssl_callback_DelSessionCacheEntry);
       SSL_CTX_set_tmp_rsa_callback(ctx, ssl_callback_TmpRSA);
       SSL_CTX_set_tmp_dh_callback(ctx,  ssl_callback_TmpDH);
  -    SSL_CTX_set_info_callback(ctx,    ssl_callback_LogTracingState);
  +
  +    if (sc->nLogLevel >= SSL_LOG_INFO) {
  +        /* this callback only logs if SSLLogLevel >= info */
  +        SSL_CTX_set_info_callback(ctx,ssl_callback_LogTracingState);
  +    }
   
       /*
        *  Configure SSL Cipher Suite
  
  
  
  1.30      +0 -5      httpd-2.0/modules/ssl/ssl_engine_kernel.c
  
  Index: ssl_engine_kernel.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_kernel.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- ssl_engine_kernel.c	2001/11/22 02:44:35	1.29
  +++ ssl_engine_kernel.c	2001/11/24 00:40:15	1.30
  @@ -1654,11 +1654,6 @@
       if ((sc = mySrvConfig(s)) == NULL)
           return;
   
  -    if (sc->nLogLevel < SSL_LOG_INFO) {
  -        /* nothing todo here */
  -        return;
  -    }
  -
       /*
        * create the various trace messages
        */
  
  
  

Mime
View raw message