21 lines
1.0 KiB
Diff
21 lines
1.0 KiB
Diff
diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c
|
|
index de0ffb0..e6a9f67 100644
|
|
--- a/modules/ssl/ssl_engine_kernel.c
|
|
+++ b/modules/ssl/ssl_engine_kernel.c
|
|
@@ -1154,6 +1154,7 @@ static int ssl_hook_Access_modern(request_rec *r, SSLSrvConfigRec *sc, SSLDirCon
|
|
ssl_log_ssl_error(SSLLOG_MARK, APLOG_ERR, r->server);
|
|
apr_table_setn(r->notes, "error-notes",
|
|
"Reason: Cannot perform Post-Handshake Authentication.<br />");
|
|
+ SSL_set_verify(ssl, vmode_inplace, NULL);
|
|
return HTTP_FORBIDDEN;
|
|
}
|
|
|
|
@@ -1175,6 +1176,7 @@ static int ssl_hook_Access_modern(request_rec *r, SSLSrvConfigRec *sc, SSLDirCon
|
|
* Finally check for acceptable renegotiation results
|
|
*/
|
|
if (OK != (rc = ssl_check_post_client_verify(r, sc, dc, sslconn, ssl))) {
|
|
+ SSL_set_verify(ssl, vmode_inplace, NULL);
|
|
return rc;
|
|
}
|
|
}
|