The branch master has been updated via 905c9a72a708701597891527b422c7f374125c52 (commit) from 138ef774fedb567b29d6e5a96541a396cadc6135 (commit)
- Log ----------------------------------------------------------------- commit 905c9a72a708701597891527b422c7f374125c52 Author: Richard Levitte <levi...@openssl.org> Date: Wed Mar 20 10:18:13 2019 +0100 OPENSSL_config(): restore error agnosticism Great effort has been made to make initialization more configurable. However, the behavior of OPENSSL_config() was lost in the process, having it suddenly generate errors it didn't previously, which is not how it's documented to behave. A simple setting of default flags fixes this problem. Fixes #8528 Reviewed-by: Matt Caswell <m...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8533) ----------------------------------------------------------------------- Summary of changes: crypto/conf/conf_sap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c index 38621db..3994a86 100644 --- a/crypto/conf/conf_sap.c +++ b/crypto/conf/conf_sap.c @@ -35,6 +35,7 @@ void OPENSSL_config(const char *appname) memset(&settings, 0, sizeof(settings)); if (appname != NULL) settings.appname = strdup(appname); + settings.flags = DEFAULT_CONF_MFLAGS; OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, &settings); } #endif