httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_config.c
Date Tue, 22 Oct 2002 23:18:15 GMT
jim         2002/10/22 16:18:15

  Modified:    modules/ssl ssl_engine_config.c
  Log:
  2 silly bugs. First of all, make the code match the error log
  (and allow 8192 to be valid). Secondly, this missplaced else
  made the size part (8192) non-optional for shm:
  
  Revision  Changes    Path
  1.70      +5 -5      httpd-2.0/modules/ssl/ssl_engine_config.c
  
  Index: ssl_engine_config.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_config.c,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- ssl_engine_config.c	14 Oct 2002 04:15:58 -0000	1.69
  +++ ssl_engine_config.c	22 Oct 2002 23:18:14 -0000	1.70
  @@ -968,7 +968,7 @@
   
               mc->nSessionCacheDataSize = atoi(cp);
   
  -            if (mc->nSessionCacheDataSize <= 8192) {
  +            if (mc->nSessionCacheDataSize < 8192) {
                   return "SSLSessionCache: Invalid argument: "
                          "size has to be >= 8192 bytes";
               }
  @@ -1010,7 +1010,7 @@
   
               mc->nSessionCacheDataSize = atoi(cp);
   
  -            if (mc->nSessionCacheDataSize <= 8192) {
  +            if (mc->nSessionCacheDataSize < 8192) {
                   return "SSLSessionCache: Invalid argument: "
                          "size has to be >= 8192 bytes";
   
  @@ -1024,9 +1024,9 @@
   
               }
           }
  -	else {
  -            return "SSLSessionCache: Invalid argument";
  -        }
  +    }
  +    else {
  +        return "SSLSessionCache: Invalid argument";
       }
   
       return NULL;
  
  
  

Mime
View raw message