From efeb352163bae28883580038bc070103a5ffd685 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 6 Aug 2004 12:43:54 +0000 Subject: [PATCH] In ca.c setup engine after autoconfig so any dynamic engines are visible. --- apps/ca.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/ca.c b/apps/ca.c index f7cc6a12a1..cacacb6ffd 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -538,10 +538,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"); @@ -586,6 +582,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) { -- 2.25.1