mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
Avoid unnecessary renegotiations with SSLVerifyDepth 0.
PR: 48215 Submitted by: Kaspar Brand <asfbugz velox ch> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1137394 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -499,7 +499,7 @@ int ssl_hook_Access(request_rec *r)
|
||||
* currently active/remembered verify depth (because this means more
|
||||
* restriction on the certificate chain).
|
||||
*/
|
||||
n = sslconn->verify_depth ?
|
||||
n = (sslconn->verify_depth != UNSET) ?
|
||||
sslconn->verify_depth :
|
||||
(mySrvConfig(handshakeserver))->server->auth.verify_depth;
|
||||
/* determine the new depth */
|
||||
|
Reference in New Issue
Block a user