X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fec.c;h=896eabc13fba53a1f0e677f8b3952fe9ab7abe33;hb=c0b90b3237b337e4b1abb7c352952ebe3ef9ca03;hp=771e15f3577c176031a24f5f5c6581802071082e;hpb=15bd07e9233dd01e6d1730400ffa58c540a315cd;p=oweals%2Fopenssl.git diff --git a/apps/ec.c b/apps/ec.c index 771e15f357..896eabc13f 100644 --- a/apps/ec.c +++ b/apps/ec.c @@ -85,9 +85,6 @@ int MAIN(int, char **); int MAIN(int argc, char **argv) { -#ifndef OPENSSL_NO_ENGINE - ENGINE *e = NULL; -#endif int ret = 1; EC_KEY *eckey = NULL; const EC_GROUP *group; @@ -254,7 +251,7 @@ bad: ERR_load_crypto_strings(); #ifndef OPENSSL_NO_ENGINE - e = setup_engine(bio_err, engine, 0); + setup_engine(bio_err, engine, 0); #endif if(!app_passwd(bio_err, passargin, passargout, &passin, &passout)) @@ -400,4 +397,10 @@ end: apps_shutdown(); OPENSSL_EXIT(ret); } +#else /* !OPENSSL_NO_EC */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif