]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/evp/evp_fetch.c
Don't try and load the config file while already loading the config file
authorMatt Caswell <matt@openssl.org>
Tue, 27 Jul 2021 15:59:59 +0000 (16:59 +0100)
committerPauli <pauli@openssl.org>
Wed, 28 Jul 2021 00:35:06 +0000 (10:35 +1000)
commit589fbc18aa5e72b2574a71d69c09b4f63f0ae943
treef25795d777c85c8c0afaa78960824fbbebd578b3
parent123ed334337e874acb1f55b36dc671de7e306824
Don't try and load the config file while already loading the config file

Calls to the API function EVP_default_properties_enable_fips() will
automatically attempt to load the default config file if it is not
already loaded. Therefore this function should not be called from inside
code to process the config file.

Fixes #16165

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16168)
crypto/evp/evp_cnf.c
crypto/evp/evp_fetch.c
include/crypto/evp.h