summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2004-08-06 12:44:34 +0000
committerDr. Stephen Henson <steve@openssl.org>2004-08-06 12:44:34 +0000
commitb5a93e22504ecdc86861c448f560645a3605d4d2 (patch)
tree66ca36ec3570e1c9621332d0e07679b4ff0a0ec0 /apps/ca.c
parentc128bb0fa28a34dede012892721047b7712ef62c (diff)
Call setup_engine after autoconfig.
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 0fd445613d..d115617b22 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -549,10 +549,6 @@ bad:
ERR_load_crypto_strings();
-#ifndef OPENSSL_NO_ENGINE
- e = setup_engine(bio_err, engine, 0);
-#endif
-
/*****************************************************************/
tofree=NULL;
if (configfile == NULL) configfile = getenv("OPENSSL_CONF");
@@ -597,6 +593,10 @@ bad:
if (!load_config(bio_err, conf))
goto err;
+#ifndef OPENSSL_NO_ENGINE
+ e = setup_engine(bio_err, engine, 0);
+#endif
+
/* Lets get the config section we are using */
if (section == NULL)
{