mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
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 <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/12817)
This commit is contained in:
parent
3101ab603c
commit
388f2d9f6c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user