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

(-)modules/ssl/ssl_engine_init.c (-6 / +10 lines)
Lines 1896-1907 Link Here
1896
            != APR_SUCCESS) {
1896
            != APR_SUCCESS) {
1897
            return rv;
1897
            return rv;
1898
        }
1898
        }
1899
1900
	/* Initialize OCSP Responder certificate if OCSP enabled */
1901
	#ifndef OPENSSL_NO_OCSP
1902
        	ssl_init_ocsp_certificates(s, sc->server);
1903
	#endif
1904
1905
    }
1899
    }
1906
1900
1907
    sdc->proxy->sc = sc;
1901
    sdc->proxy->sc = sc;
Lines 1916-1921 Link Here
1916
    }
1910
    }
1917
    sdc->proxy_post_config = 1;
1911
    sdc->proxy_post_config = 1;
1918
1912
1913
    /*
1914
     * Initialize OCSP Responder certificate if OCSP enabled
1915
     * On a HTTP to HTTPS proxy, SSL can be disabled while OCSP certificates still need to be loaded
1916
     */
1917
#ifndef OPENSSL_NO_OCSP
1918
    if ((sc->enabled == SSL_ENABLED_TRUE) || (sc->enabled == SSL_ENABLED_OPTIONAL) || (sdc->proxy_enabled == TRUE)) {
1919
        ssl_init_ocsp_certificates(s, sc->server);
1920
    }
1921
#endif
1922
1919
    return APR_SUCCESS;
1923
    return APR_SUCCESS;
1920
}
1924
}
1921
1925

Return to bug 63171