]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Convert a TODO(3.0) in OPENSSL_thread_stop_ex to a comment
authorMatt Caswell <matt@openssl.org>
Fri, 12 Mar 2021 15:43:40 +0000 (15:43 +0000)
committerPauli <ppzgs1@gmail.com>
Sun, 14 Mar 2021 05:40:25 +0000 (15:40 +1000)
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)

crypto/initthread.c

index 993bf744735b3a7f85c54f8562b50fe214045b9f..07406680718c7b7134f70e8d7b915ec6744ed605 100644 (file)
@@ -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);
 }