[openssl] master update

Dr. Paul Dale pauli at openssl.org
Wed Feb 24 11:23:05 UTC 2021


The branch master has been updated
       via  8b3facd7324b6c2f36f6414c0552da26378aae4a (commit)
      from  76e48c9d6667391189e22d674b2b3b8161ab9442 (commit)


- Log -----------------------------------------------------------------
commit 8b3facd7324b6c2f36f6414c0552da26378aae4a
Author: Pauli <ppzgs1 at gmail.com>
Date:   Thu Feb 18 11:55:04 2021 +1000

    rand: note that locking needs to be explicitly enabled.
    
    Fixes #13912
    
    Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/14224)

-----------------------------------------------------------------------

Summary of changes:
 doc/man3/EVP_RAND.pod | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/man3/EVP_RAND.pod b/doc/man3/EVP_RAND.pod
index c2940a3455..97114af0fb 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<OSSL_RAND_PARAM_PROPERTIES>.
 
 =back
 
+=head1 NOTES
+
+An B<EVP_RAND_CTX> 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<EVP_RAND>, or


More information about the openssl-commits mailing list