]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Initialize post_handshake_rc for case where a failure has
authorJeff Trawick <trawick@apache.org>
Mon, 21 Apr 2014 11:03:26 +0000 (11:03 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 21 Apr 2014 11:03:26 +0000 (11:03 +0000)
already occurred (doesn't change execution but avoids warning
with some levels of gcc).

Pointed out by: kbrand

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1588868 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_io.c

index 26a901f85654027efbbe272f5bb39064f5540ae2..ca8d52fb205eb97af91068237bc06b1810e27e61 100644 (file)
@@ -1124,7 +1124,7 @@ static apr_status_t ssl_io_filter_handshake(ssl_filter_ctx_t *filter_ctx)
         const char *hostname_note = apr_table_get(c->notes,
                                                   "proxy-request-hostname");
         BOOL proxy_ssl_check_peer_ok = TRUE;
-        int post_handshake_rc;
+        int post_handshake_rc = OK;
 
         sc = mySrvConfig(server);