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 /include/internal/core.h | |
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 'include/internal/core.h')
-rw-r--r-- | include/internal/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/internal/core.h b/include/internal/core.h index 68b3943679..091b4b2d04 100644 --- a/include/internal/core.h +++ b/include/internal/core.h @@ -64,5 +64,6 @@ char *ossl_algorithm_get1_first_name(const OSSL_ALGORITHM *algo); __owur int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx); __owur int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx); int ossl_lib_ctx_unlock(OSSL_LIB_CTX *ctx); +int ossl_lib_ctx_is_child(OSSL_LIB_CTX *ctx); #endif |