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/rand | |
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/rand')
-rw-r--r-- | crypto/rand/rand_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c index a7a8c70523..a3305b76b4 100644 --- a/crypto/rand/rand_lib.c +++ b/crypto/rand/rand_lib.c @@ -746,7 +746,7 @@ static int random_conf_init(CONF_IMODULE *md, const CONF *cnf) { STACK_OF(CONF_VALUE) *elist; CONF_VALUE *cval; - RAND_GLOBAL *dgbl = rand_get_global(cnf->libctx); + RAND_GLOBAL *dgbl = rand_get_global(NCONF_get0_libctx((CONF *)cnf)); int i, r = 1; OSSL_TRACE1(CONF, "Loading random module: section %s\n", |