]> granicus.if.org Git - apache/commitdiff
mod_ssl: update the current handshake server once a full regenegotation
authorYann Ylavic <ylavic@apache.org>
Fri, 18 Sep 2015 14:31:48 +0000 (14:31 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 18 Sep 2015 14:31:48 +0000 (14:31 +0000)
succeeds, it is the new reference for further renegotiation or SNI check.

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

modules/ssl/ssl_engine_kernel.c

index 83bfb73f1cc05cc1f7b5541d94cecb1682f83484..7352397b045ebe18b343fa4d3e10e1601f28d3fc 100644 (file)
@@ -850,6 +850,11 @@ int ssl_hook_Access(request_rec *r)
                 r->connection->keepalive = AP_CONN_CLOSE;
                 return HTTP_FORBIDDEN;
             }
+
+            /* Full renegotiation successfull, we now have handshaken with
+             * this server's parameters.
+             */
+            sslconn->server = r->server;
         }
 
         /*