Browse Source

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)
slontis 1 year ago
parent
commit
5c535e4692
1 changed files with 6 additions and 0 deletions
  1. 6 0
      doc/man3/EVP_set_default_properties.pod

+ 6 - 0
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