Fold rules in test/Makefiles [from stable].
[openssl.git] / apps / ec.c
index 79d0df9865d4e23aa6b3be88bbfcb294c4838f9e..392e6a2ef64891bdfc3b79f43e016a8fc8e8d29c 100644 (file)
--- a/apps/ec.c
+++ b/apps/ec.c
@@ -84,7 +84,9 @@ 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;
        int     i, badops = 0;
@@ -230,9 +232,9 @@ bad:
                                "curve parameters\n");
                BIO_printf(bio_err, " -conv_form arg  specifies the "
                                "point conversion form \n");
-               BIO_printf(bio_err, "                 possible values :"
+               BIO_printf(bio_err, "                 possible values:"
                                " compressed\n");
-               BIO_printf(bio_err, "                                  "
+               BIO_printf(bio_err, "                                 "
                                " uncompressed (default)\n");
                BIO_printf(bio_err, "                                  "
                                " hybrid\n");
@@ -240,16 +242,18 @@ bad:
                                " the ec parameters are encoded\n");
                BIO_printf(bio_err, "                 in the asn1 der "
                                "encoding\n");
-               BIO_printf(bio_err, "                 possilbe values :"
+               BIO_printf(bio_err, "                 possilbe values:"
                                " named_curve (default)\n");
-               BIO_printf(bio_err,"                                   "
+               BIO_printf(bio_err,"                                  "
                                "explicit\n");
                goto end;
                }
 
        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)) 
                {
@@ -390,6 +394,6 @@ end:
        if (passout)
                OPENSSL_free(passout);
        apps_shutdown();
-       EXIT(ret);
+       OPENSSL_EXIT(ret);
 }
 #endif