From: Pauli Date: Fri, 25 Sep 2020 22:37:38 +0000 (+1000) Subject: todo: remove fork protection todo comment, it isn't relevant to the FIPS provider X-Git-Tag: openssl-3.0.0-alpha7~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c57a59b1a0395733c89a56d3d5fc65a4bf576e4e;p=thirdparty%2Fopenssl.git todo: remove fork protection todo comment, it isn't relevant to the FIPS provider Fixes #12984 Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/12997) --- diff --git a/crypto/threads_pthread.c b/crypto/threads_pthread.c index 936aa7f0c7e..a2735332b83 100644 --- a/crypto/threads_pthread.c +++ b/crypto/threads_pthread.c @@ -195,8 +195,6 @@ int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) } # ifndef FIPS_MODULE -/* TODO(3.0): No fork protection in FIPS module yet! */ - # ifdef OPENSSL_SYS_UNIX static pthread_once_t fork_once_control = PTHREAD_ONCE_INIT;