summaryrefslogtreecommitdiffstats
path: root/crypto/init.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-05-24 16:36:44 +0100
committerMatt Caswell <matt@openssl.org>2019-06-07 12:04:42 +0100
commita2f27fd750b9ae62a571a9212c7154889100bdb0 (patch)
tree54ffd1a0957459478bd30e2cec5e700b59e9c29b /crypto/init.c
parent4e297b7441a070f9dd557445665365b4377e9498 (diff)
Move the rand_nonce_lock code into drbg_lib.c
It was previously rand_lib but it makes more sense in drbg_lib.c since all the functions that use this lock are only ever called from drbg_lib.c We add some FIPS_MODE defines in preparation for later moving this code into the FIPS module. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9039)
Diffstat (limited to 'crypto/init.c')
-rw-r--r--crypto/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/init.c b/crypto/init.c
index 6a1f5eabe5..e73c9bafbd 100644
--- a/crypto/init.c
+++ b/crypto/init.c
@@ -852,5 +852,6 @@ void OPENSSL_fork_parent(void)
void OPENSSL_fork_child(void)
{
rand_fork();
+ /* TODO(3.0): Inform all providers about a fork event */
}
#endif