summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorHarry Sintonen <sintonen@iki.fi>2022-02-01 23:48:19 +0200
committerTomas Mraz <tomas@openssl.org>2022-02-04 08:59:08 +0100
commit8e012cdc896ec6a98b45119b127b230cbbb6e93b (patch)
tree74744cdd62fff2995fbf79c65fba4b418111987f /crypto
parentb9b211fcb6b9068ef1d8729a4971fbe693fd2cde (diff)
Add missing CRYPTO_THREAD_cleanup_local of default_context_thread_local
CLA: trivial Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17622)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/context.c b/crypto/context.c
index cc48c92604..e84eeea596 100644
--- a/crypto/context.c
+++ b/crypto/context.c
@@ -156,6 +156,7 @@ DEFINE_RUN_ONCE_STATIC(default_context_do_init)
void ossl_lib_ctx_default_deinit(void)
{
context_deinit(&default_context_int);
+ CRYPTO_THREAD_cleanup_local(&default_context_thread_local);
}
static OSSL_LIB_CTX *get_thread_default_context(void)