diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-18 11:55:04 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-24 21:21:47 +1000 |
commit | 8b3facd7324b6c2f36f6414c0552da26378aae4a (patch) | |
tree | 46900274c9fe1f99cddd1645d10594be17633ea9 /doc | |
parent | 76e48c9d6667391189e22d674b2b3b8161ab9442 (diff) |
rand: note that locking needs to be explicitly enabled.
Fixes #13912
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14224)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/EVP_RAND.pod | 6 |
1 files changed, 6 insertions, 0 deletions
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 |