1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

check for more possible SSL failures

bz #66225


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908805 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Giovanni Bechis
2023-03-30 17:09:09 +00:00
parent 57c0ee9a6c
commit f766a83553

View File

@@ -997,10 +997,7 @@ static int ssl_hook_Access_classic(request_rec *r, SSLSrvConfigRec *sc, SSLDirCo
* handshake to proceed. */ * handshake to proceed. */
modssl_set_reneg_state(sslconn, RENEG_ALLOW); modssl_set_reneg_state(sslconn, RENEG_ALLOW);
SSL_renegotiate(ssl); if(!SSL_renegotiate(ssl) || !SSL_do_handshake(ssl) || !SSL_is_init_finished(ssl)) {
SSL_do_handshake(ssl);
if (!SSL_is_init_finished(ssl)) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(02225) ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(02225)
"Re-negotiation request failed"); "Re-negotiation request failed");
ssl_log_ssl_error(SSLLOG_MARK, APLOG_ERR, r->server); ssl_log_ssl_error(SSLLOG_MARK, APLOG_ERR, r->server);