diff options
author | Matt Caswell <matt@openssl.org> | 2021-11-09 13:48:31 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-11-15 14:22:41 +0000 |
commit | fc205cedd7b9f12a70117c5f9167ba689ec35a28 (patch) | |
tree | ce470f8b94477f37e4258e631a34c269ca1ddf99 /include/internal/provider.h | |
parent | 0d46c3f8e2453b407f8385545437e65c13a2fd8f (diff) |
Stop receiving child callbacks in a child libctx when appropriate
We should stop receiving child callbacks if we're about to free up
the child libctx. Otherwise we can get callbacks when the libctx is half
freed up.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17018)
Diffstat (limited to 'include/internal/provider.h')
-rw-r--r-- | include/internal/provider.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/internal/provider.h b/include/internal/provider.h index b27d6a80b8..d09829d05e 100644 --- a/include/internal/provider.h +++ b/include/internal/provider.h @@ -108,6 +108,7 @@ void ossl_provider_add_conf_module(void); int ossl_provider_init_as_child(OSSL_LIB_CTX *ctx, const OSSL_CORE_HANDLE *handle, const OSSL_DISPATCH *in); +void ossl_provider_deinit_child(OSSL_LIB_CTX *ctx); # ifdef __cplusplus } |