diff options
author | Matt Caswell <matt@openssl.org> | 2021-04-21 17:51:41 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-05-11 15:56:55 +0200 |
commit | f12a5690de906c05031f0195b6dec6925ff27231 (patch) | |
tree | 9d4ea21b4d574ec86091c27cd1c530356534c2df /test/bio_core_test.c | |
parent | Add the ability for ex_data to have a priority (diff) | |
download | openssl-f12a5690de906c05031f0195b6dec6925ff27231.tar.xz openssl-f12a5690de906c05031f0195b6dec6925ff27231.zip |
Add the concept of a child OSSL_LIB_CTX
Add a child OSSL_LIB_CTX that will mirror the providers loaded into the
parent libctx. This is useful for providers that want to use algorithms
from other providers and just need to inherit the providers used by the
application.
Fixes #14925
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14991)
Diffstat (limited to 'test/bio_core_test.c')
-rw-r--r-- | test/bio_core_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bio_core_test.c b/test/bio_core_test.c index 9ec8af9b8f..ae326cef92 100644 --- a/test/bio_core_test.c +++ b/test/bio_core_test.c @@ -55,7 +55,7 @@ static const OSSL_DISPATCH biocbs[] = { static int test_bio_core(void) { BIO *cbio = NULL, *cbiobad = NULL; - OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new_from_dispatch(biocbs); + OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new_from_dispatch(NULL, biocbs); int testresult = 0; OSSL_CORE_BIO corebio; const char *msg = "Hello world"; |