summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslontis <shane.lontis@oracle.com>2022-06-29 10:10:16 +1000
committerTomas Mraz <tomas@openssl.org>2022-07-01 08:32:06 +0200
commit9c6b986b4a8d5222d82ebd0c81f51ce527232ae3 (patch)
tree10e926c8dde6ed3b3c153ba3299b05ebe1c350d1
parentb32f8ae6cef586cd7e36dc7c4d84cef228d8a6b6 (diff)
Documentation update for EVP_set_default_properties
Explicitly state that it is not thread safe. Fixes #18613 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18678) (cherry picked from commit 5c535e4692a5a4f2ec7691de4efc6290193a0882)
-rw-r--r--doc/man3/EVP_set_default_properties.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/man3/EVP_set_default_properties.pod b/doc/man3/EVP_set_default_properties.pod
index efd1031938..d27dc67cc8 100644
--- a/doc/man3/EVP_set_default_properties.pod
+++ b/doc/man3/EVP_set_default_properties.pod
@@ -36,6 +36,12 @@ existing query strings that have been set via EVP_set_default_properties().
EVP_default_properties_is_fips_enabled() indicates if 'fips=yes' is a default
property for the given I<libctx>.
+=head1 NOTES
+
+EVP_set_default_properties() and EVP_default_properties_enable_fips() are not
+thread safe. They are intended to be called only during the initialisation
+phase of a I<libctx>.
+
=head1 RETURN VALUES
EVP_set_default_properties() and EVP_default_properties_enable_fips() return 1