From: Dr. David von Oheimb Date: Tue, 8 Sep 2020 12:31:59 +0000 (+0200) Subject: app_load_config_bio(): fix crash on error X-Git-Tag: openssl-3.0.0-alpha7~329 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=388f2d9f6c3faebc72722ba6bb76df12146ad988;p=thirdparty%2Fopenssl.git app_load_config_bio(): fix crash on error It turns out that the CONF_modules_load(conf, NULL, 0) call is just wrong. Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/12817) --- diff --git a/apps/lib/apps.c b/apps/lib/apps.c index f10e91deb79..878ec18f0b1 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -389,7 +389,6 @@ CONF *app_load_config_bio(BIO *in, const char *filename) else BIO_printf(bio_err, "config input"); - CONF_modules_load(conf, NULL, 0); NCONF_free(conf); return NULL; }