openssl/crypto/conf
Ingo Franzki ecb6cdf02a OPENSSL_init_crypto load config into initial global default library context
OPENSSL_init_crypto() with OPENSSL_INIT_LOAD_CONFIG must load the configuration
into the initial global default library context, not the currently set default
library context.

OPENSSL_init_crypto() with OPENSSL_INIT_LOAD_CONFIG may be called within other
OpenSSL API functions, e.g. from within EVP_PKEY_CTX_new_xxx() when initializing
a pkey context, to perform implicit initialization, if it has not been
initialized yet. This implicit initialization may happen at a time when an
application has already create its own library context and made it the default
library context. So loading the config into the current default library context
would load it into the applications library context.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21897)
2023-08-31 17:06:51 +02:00
..
build.info
conf_api.c
conf_def.c Prevent a fuzzing timeout in the conf fuzzer 2023-05-08 10:33:48 +01:00
conf_def.h
conf_err.c
conf_lib.c
conf_local.h
conf_mall.c
conf_mod.c CONF_modules_load_file_ex(): Do not try to load an empty file name 2023-06-27 14:48:33 +02:00
conf_sap.c OPENSSL_init_crypto load config into initial global default library context 2023-08-31 17:06:51 +02:00
conf_ssl.c
keysets.pl