diff options
author | Jim Jagielski <jim@apache.org> | 2002-10-23 01:18:14 +0200 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2002-10-23 01:18:14 +0200 |
commit | 74d8971f72bcd38467b717d7787112bf7b4987dc (patch) | |
tree | 7e0b8c9de779bdf204bc3f19433a87ba101d995f /modules/ssl | |
parent | more cache work todo. (diff) | |
download | apache2-74d8971f72bcd38467b717d7787112bf7b4987dc.tar.xz apache2-74d8971f72bcd38467b717d7787112bf7b4987dc.zip |
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:
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97281 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl')
-rw-r--r-- | modules/ssl/ssl_engine_config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/ssl/ssl_engine_config.c b/modules/ssl/ssl_engine_config.c index 1350e4fc56..57fdc3e88b 100644 --- a/modules/ssl/ssl_engine_config.c +++ b/modules/ssl/ssl_engine_config.c @@ -968,7 +968,7 @@ const char *ssl_cmd_SSLSessionCache(cmd_parms *cmd, 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 @@ const char *ssl_cmd_SSLSessionCache(cmd_parms *cmd, 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 @@ const char *ssl_cmd_SSLSessionCache(cmd_parms *cmd, } } - else { - return "SSLSessionCache: Invalid argument"; - } + } + else { + return "SSLSessionCache: Invalid argument"; } return NULL; |