From: Pauli Date: Thu, 18 Feb 2021 01:55:04 +0000 (+1000) Subject: rand: note that locking needs to be explicitly enabled. X-Git-Tag: openssl-3.0.0-alpha13~204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b3facd7324b6c2f36f6414c0552da26378aae4a;p=thirdparty%2Fopenssl.git rand: note that locking needs to be explicitly enabled. Fixes #13912 Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14224) --- diff --git a/doc/man3/EVP_RAND.pod b/doc/man3/EVP_RAND.pod index c2940a3455f..97114af0fb9 100644 --- a/doc/man3/EVP_RAND.pod +++ b/doc/man3/EVP_RAND.pod @@ -311,6 +311,12 @@ or the properties in the case of B. =back +=head1 NOTES + +An B needs to have locking enabled if it acts as the parent of +more than one child and the children can be accessed concurrently. This must +be done by explicitly calling EVP_RAND_enable_locking(). + =head1 RETURN VALUES EVP_RAND_fetch() returns a pointer to a newly fetched B, or