From: Dr. Stephen Henson Date: Fri, 6 Aug 2004 12:43:54 +0000 (+0000) Subject: In ca.c setup engine after autoconfig so any dynamic engines are visible. X-Git-Tag: OpenSSL_0_9_7e~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efeb352163bae28883580038bc070103a5ffd685;p=openssl In ca.c setup engine after autoconfig so any dynamic engines are visible. --- 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) {