summaryrefslogtreecommitdiffstats
path: root/crypto/initthread.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-03-12 15:43:40 +0000
committerPauli <ppzgs1@gmail.com>2021-03-14 15:40:25 +1000
commit703c4d669d808d9131f241420c3225c1e7db3660 (patch)
treebdc24f4b15c3126057be2dfbfa9394648522247d /crypto/initthread.c
parentfadb77ce6df6f44efc9298cda8a7a22ddef636a4 (diff)
Convert a TODO(3.0) in OPENSSL_thread_stop_ex to a comment
The TODO is describing something that would be nice to fix. In fact the problem exists even in 1.1.1. It would be nice to fix it, but it does not need to be done in the 3.0 timeframe. Fixes #14376 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14533)
Diffstat (limited to 'crypto/initthread.c')
-rw-r--r--crypto/initthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/initthread.c b/crypto/initthread.c
index 993bf74473..0740668071 100644
--- a/crypto/initthread.c
+++ b/crypto/initthread.c
@@ -216,9 +216,9 @@ void OPENSSL_thread_stop_ex(OSSL_LIB_CTX *ctx)
{
ctx = ossl_lib_ctx_get_concrete(ctx);
/*
- * TODO(3.0). It would be nice if we could figure out a way to do this on
- * all threads that have used the OSSL_LIB_CTX when the context is freed.
- * This is currently not possible due to the use of thread local variables.
+ * It would be nice if we could figure out a way to do this on all threads
+ * that have used the OSSL_LIB_CTX when the context is freed. This is
+ * currently not possible due to the use of thread local variables.
*/
ossl_ctx_thread_stop(ctx);
}