diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-05-15 18:43:03 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-05-16 18:29:27 +0100 |
commit | c821defc3f728a491856b7286e5b2cbda96a3563 (patch) | |
tree | 1e2a24582b4ce8a64b05423b44453b044e760618 /apps/req.c | |
parent | 727ee8cfeb2893d5aec4a6e571e9adf0667e9135 (diff) |
Don't load same config file twice.
RT#4215
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c index 7f4a946aaa..cd51c18a44 100644 --- a/apps/req.c +++ b/apps/req.c @@ -386,7 +386,7 @@ int req_main(int argc, char **argv) if (verbose) BIO_printf(bio_err, "Using configuration from %s\n", template); req_conf = app_load_config(template); - if (!app_load_modules(req_conf)) + if (template != default_config_file && !app_load_modules(req_conf)) goto end; if (req_conf != NULL) { |