X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fdsa.c;h=59aa0ea106e6086c45b95a589a5774d352d0566f;hp=4f45edac6bf4986db85ceca514e8b23ab4162551;hb=4f94d1a8b18cb35914eb253f75d96fec410694ad;hpb=531d630b5cfe0c50de122f0387a65473b4746bf8 diff --git a/apps/dsa.c b/apps/dsa.c index 4f45edac6b..59aa0ea106 100644 --- a/apps/dsa.c +++ b/apps/dsa.c @@ -68,7 +68,6 @@ #include #include #include -#include #undef PROG #define PROG dsa_main @@ -198,7 +197,7 @@ bad: ERR_load_crypto_strings(); - e = ENGINE_setup(engine, bio_err); + e = setup_engine(bio_err, engine, 0); if(!app_passwd(bio_err, passargin, passargout, &passin, &passout)) { BIO_printf(bio_err, "Error getting passwords\n"); @@ -304,6 +303,7 @@ end: if(dsa != NULL) DSA_free(dsa); if(passin) OPENSSL_free(passin); if(passout) OPENSSL_free(passout); + apps_shutdown(); EXIT(ret); } #endif