]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
r954641: Fix some compiler warnings:
authorJim Jagielski <jim@apache.org>
Mon, 11 Nov 2013 14:05:50 +0000 (14:05 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 11 Nov 2013 14:05:50 +0000 (14:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1540734 13f79535-47bb-0310-9956-ffa450edef68

STATUS
modules/ssl/ssl_engine_config.c

diff --git a/STATUS b/STATUS
index fc10f7c989da6defecb80078aa303e5732ea2f90..7274b76a7a10f31bb458fa92b3e70d52ceda9ac9 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -97,13 +97,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
   
-  * mod_ssl config: Fix range check bug with SSLRenegBufferSize
-    trunk patch: http://svn.apache.org/r954641
-                 (only this part, which has the only non-style fix applicable to 2.2.x:
-                 http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_config.c?r1=954641&r2=954640&pathrev=954641&view=patch)
-    2.4.x patch: it was fixed before 2.4.x was branched
-    2.2.x patch: trunk patch to ssl_engine_config.c (above) applies with offset
-    +1: trawick, jorton, wrowe
 
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
index 20e199c354b5b5addd977d2e26291a9a4a1b4a41..1c9953ff5765a7fa48acb83b675171a10f94bc63 100644 (file)
@@ -1272,12 +1272,14 @@ const char *ssl_cmd_SSLRequire(cmd_parms *cmd,
 const char *ssl_cmd_SSLRenegBufferSize(cmd_parms *cmd, void *dcfg, const char *arg)
 {
     SSLDirConfigRec *dc = dcfg;
-    
-    dc->nRenegBufferSize = atoi(arg);
-    if (dc->nRenegBufferSize < 0) {
+    int val;
+
+    val = atoi(arg);
+    if (val < 0) {
         return apr_pstrcat(cmd->pool, "Invalid size for SSLRenegBufferSize: ",
                            arg, NULL);
     }
+    dc->nRenegBufferSize = val;
 
     return NULL;
 }