From 5c535e4692a5a4f2ec7691de4efc6290193a0882 Mon Sep 17 00:00:00 2001 From: slontis Date: Wed, 29 Jun 2022 10:10:16 +1000 Subject: [PATCH] Documentation update for EVP_set_default_properties Explicitly state that it is not thread safe. Fixes #18613 Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/18678) --- doc/man3/EVP_set_default_properties.pod | 6 ++++++ 1 file changed, 6 insertions(+) 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. +=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. + =head1 RETURN VALUES EVP_set_default_properties() and EVP_default_properties_enable_fips() return 1 -- 2.34.1