summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-05-15 18:43:03 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-05-16 18:29:27 +0100
commitc821defc3f728a491856b7286e5b2cbda96a3563 (patch)
tree1e2a24582b4ce8a64b05423b44453b044e760618 /apps/ca.c
parent727ee8cfeb2893d5aec4a6e571e9adf0667e9135 (diff)
Don't load same config file twice.
RT#4215 Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 880e0b9a19..ac71e08837 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -479,7 +479,7 @@ end_of_options:
if ((conf = app_load_config(configfile)) == NULL)
goto end;
- if (!app_load_modules(conf))
+ if (configfile != default_config_file && !app_load_modules(conf))
goto end;
/* Lets get the config section we are using */