X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=apps%2Fec.c;h=31194b48df7dd99a02bea9dc7275659b6209af82;hb=3e70c81ed9f54353d2fec4e5ef163c3810d58acf;hp=9ddaddfe5e7033858f749b7c52f359e9d7a7462b;hpb=6e04afb8c5779314b15a6e77dcbd6868874904eb;p=openssl.git diff --git a/apps/ec.c b/apps/ec.c index 9ddaddfe5e..31194b48df 100644 --- a/apps/ec.c +++ b/apps/ec.c @@ -244,7 +244,7 @@ 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, " possible values:" " named_curve (default)\n"); BIO_printf(bio_err," " "explicit\n"); @@ -347,7 +347,10 @@ bad: } if (noout) + { + ret = 0; goto end; + } BIO_printf(bio_err, "writing EC key\n"); if (outformat == FORMAT_ASN1) @@ -397,4 +400,10 @@ end: apps_shutdown(); OPENSSL_EXIT(ret); } +#else /* !OPENSSL_NO_EC */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif