Fix the return type of felem_is_zero_int which should be int.
[oweals/openssl.git] / apps / ec.c
index 93fb98911c989e96a6fbff7411a519ebd121c808..d2263c87392e1c23014712ae29cb92a86195d8ef 100644 (file)
--- a/apps/ec.c
+++ b/apps/ec.c
@@ -95,9 +95,7 @@ int MAIN(int argc, char **argv)
     int informat, outformat, text = 0, noout = 0;
     int pubin = 0, pubout = 0, param_out = 0;
     char *infile, *outfile, *prog, *engine;
-# ifndef OPENSSL_NO_ENGINE
     ENGINE *e = NULL;
-# endif
     char *passargin = NULL, *passargout = NULL;
     char *passin = NULL, *passout = NULL;
     point_conversion_form_t form = POINT_CONVERSION_UNCOMPRESSED;
@@ -238,9 +236,7 @@ int MAIN(int argc, char **argv)
 
     ERR_load_crypto_strings();
 
-# ifndef OPENSSL_NO_ENGINE
     e = setup_engine(bio_err, engine, 0);
-# endif
 
     if (!app_passwd(bio_err, passargin, passargout, &passin, &passout)) {
         BIO_printf(bio_err, "Error getting passwords\n");
@@ -352,10 +348,7 @@ int MAIN(int argc, char **argv)
         BIO_free_all(out);
     if (eckey)
         EC_KEY_free(eckey);
-# ifndef OPENSSL_NO_ENGINE
-    if (e != NULL)
-        release_engine(e);
-# endif
+    release_engine(e);
     if (passin)
         OPENSSL_free(passin);
     if (passout)