diff options
author | Rich Salz <rsalz@akamai.com> | 2021-05-25 14:48:41 -0400 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-02 12:40:02 +1000 |
commit | 6b750b89ee9ad3952b1b25e47b848abc8b60e7dd (patch) | |
tree | 15c5f382192521533d08ea291a6cab7855ad376f /crypto/provider_conf.c | |
parent | ff234c6804571b70bc02ff44df1f42c4a3fe5cf1 (diff) |
Add NCONF_get0_libctx()
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15466)
Diffstat (limited to 'crypto/provider_conf.c')
-rw-r--r-- | crypto/provider_conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/provider_conf.c b/crypto/provider_conf.c index 5725ef3c63..977d469808 100644 --- a/crypto/provider_conf.c +++ b/crypto/provider_conf.c @@ -199,7 +199,8 @@ static int provider_conf_init(CONF_IMODULE *md, const CONF *cnf) for (i = 0; i < sk_CONF_VALUE_num(elist); i++) { cval = sk_CONF_VALUE_value(elist, i); - if (!provider_conf_load(cnf->libctx, cval->name, cval->value, cnf)) + if (!provider_conf_load(NCONF_get0_libctx((CONF *)cnf), + cval->name, cval->value, cnf)) return 0; } |