Skip to content

Commit

Permalink
mod_ssl: update the current handshake server once a full regenegotation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ylavic committed Sep 18, 2015
1 parent b020e04 commit 28df2c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/ssl/ssl_engine_kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit 28df2c5

Please sign in to comment.