From: Ruediger Pluem Date: Tue, 10 Apr 2018 07:09:20 +0000 (+0000) Subject: We need to get the SSL_CTX for further processing down below. X-Git-Tag: 2.5.0-alpha2-ci-test-only~2699 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dc4c7da7390fe4cdc9933bfa7b964b18afffd75;p=thirdparty%2Fapache%2Fhttpd.git We need to get the SSL_CTX for further processing down below. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828793 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index 7b0e4f75758..5f2190a2e2f 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -475,7 +475,7 @@ static int ssl_hook_Access_classic(request_rec *r, SSLSrvConfigRec *sc, SSLDirCo { server_rec *handshakeserver = sslconn ? sslconn->server : NULL; SSLSrvConfigRec *hssc = handshakeserver? mySrvConfig(handshakeserver) : NULL; - SSL_CTX *ctx = NULL; + SSL_CTX *ctx = ssl ? SSL_get_SSL_CTX(ssl) : NULL; apr_array_header_t *requires; ssl_require_t *ssl_requires; int ok, i, rc;