View | Details | Raw Unified | Return to bug 48215
Collapse All | Expand All

(-)modules/ssl/mod_ssl.c (+1 lines)
Lines 327-332 static SSLConnRec *ssl_init_connection_c Link Here
327
    sslconn = apr_pcalloc(c->pool, sizeof(*sslconn));
327
    sslconn = apr_pcalloc(c->pool, sizeof(*sslconn));
328
328
329
    sslconn->server = c->base_server;
329
    sslconn->server = c->base_server;
330
    sslconn->verify_depth = UNSET;
330
331
331
    myConnConfigSet(c, sslconn);
332
    myConnConfigSet(c, sslconn);
332
333
(-)modules/ssl/ssl_engine_kernel.c (-1 / +1 lines)
Lines 477-483 int ssl_hook_Access(request_rec *r) Link Here
477
     * currently active/remembered verify depth (because this means more
477
     * currently active/remembered verify depth (because this means more
478
     * restriction on the certificate chain).
478
     * restriction on the certificate chain).
479
     */
479
     */
480
    n = sslconn->verify_depth ?
480
    n = (sslconn->verify_depth != UNSET) ?
481
        sslconn->verify_depth :
481
        sslconn->verify_depth :
482
        (mySrvConfig(handshakeserver))->server->auth.verify_depth;
482
        (mySrvConfig(handshakeserver))->server->auth.verify_depth;
483
    /* determine the new depth */
483
    /* determine the new depth */

Return to bug 48215