We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f98c56f commit 824f943Copy full SHA for 824f943
src/canl_mod_gridsite.c
@@ -3490,7 +3490,9 @@ static int mod_gridsite_perm_handler(request_rec *r)
3490
3491
int GRST_callback_SSLVerify_wrapper(int ok, X509_STORE_CTX *ctx)
3492
{
3493
- SSL *ssl = (SSL *) X509_STORE_CTX_get_app_data(ctx);
+ /* Get Apache context back through OpenSSL context */
3494
+ SSL *ssl = X509_STORE_CTX_get_ex_data(ctx,
3495
+ SSL_get_ex_data_X509_STORE_CTX_idx());
3496
conn_rec *conn = (conn_rec *) SSL_get_app_data(ssl);
3497
int errnum = X509_STORE_CTX_get_error(ctx);
3498
int errdepth = X509_STORE_CTX_get_error_depth(ctx);
0 commit comments