From 7fe6545f84b4a0382b46a25bf7eca93e09d18aa1 Mon Sep 17 00:00:00 2001 From: Marcel Poul Date: Wed, 26 Sep 2012 11:18:53 +0000 Subject: [PATCH] Get ex_data in proxy_verify_callback out of SSL_CTX. --- emi.canl.canl-c/src/proxy/sslutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emi.canl.canl-c/src/proxy/sslutils.c b/emi.canl.canl-c/src/proxy/sslutils.c index 8cc2c86..6d37d8b 100644 --- a/emi.canl.canl-c/src/proxy/sslutils.c +++ b/emi.canl.canl-c/src/proxy/sslutils.c @@ -1842,7 +1842,7 @@ proxy_verify_callback( ssl = (SSL *)X509_STORE_CTX_get_app_data(ctx); if (ssl) { ssl_ctx = SSL_get_SSL_CTX(ssl); - pvd = (proxy_verify_desc *)SSL_get_ex_data(ssl, + pvd = (proxy_verify_desc *)SSL_CTX_get_ex_data(ssl_ctx, PVD_SSL_EX_DATA_IDX); } } -- 1.8.2.3