You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2018/04/10 07:09:20 UTC
svn commit: r1828793 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
Author: rpluem
Date: Tue Apr 10 07:09:20 2018
New Revision: 1828793
URL: http://svn.apache.org/viewvc?rev=1828793&view=rev
Log:
We need to get the SSL_CTX for further processing down below.
Modified:
httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c?rev=1828793&r1=1828792&r2=1828793&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c Tue Apr 10 07:09:20 2018
@@ -475,7 +475,7 @@ static int ssl_hook_Access_classic(reque
{
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;