]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Documentation update for EVP_set_default_properties
authorslontis <shane.lontis@oracle.com>
Wed, 29 Jun 2022 00:10:16 +0000 (10:10 +1000)
committerHugo Landau <hlandau@openssl.org>
Thu, 30 Jun 2022 08:10:05 +0000 (09:10 +0100)
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)

doc/man3/EVP_set_default_properties.pod

index efd1031938dd53c5c6c5df55e7f8df9a68e46da5..d27dc67cc8eef3a6ffbc821691365dd5138ee372 100644 (file)
@@ -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