Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 17062 invoked by uid 500); 22 Oct 2002 23:18:16 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 17051 invoked by uid 500); 22 Oct 2002 23:18:16 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 22 Oct 2002 23:18:15 -0000 Message-ID: <20021022231815.34181.qmail@icarus.apache.org> From: jim@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/ssl ssl_engine_config.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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;