summaryrefslogtreecommitdiffstats
path: root/crypto/context.c
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:38 +0100
commit6e47da6363e9e32c14f0c3a750ca04cd189c85fe (patch)
tree02fe006417e0a72676ff682286122d872933de08 /crypto/context.c
parente2f06af9cfc59f5447ac645430cab1f9fa6a1071 (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) (cherry picked from commit 8e012cdc896ec6a98b45119b127b230cbbb6e93b)
Diffstat (limited to 'crypto/context.c')
-rw-r--r--crypto/context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/context.c b/crypto/context.c
index a05009a3ef..b50761dd8f 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)