X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fec.c;h=771e15f3577c176031a24f5f5c6581802071082e;hb=5dffc13f55234f0e30914d8d7d1727afbb8fc675;hp=a763daa65369c3c42c4558318dd894fa810c6513;hpb=b0c0f200712ea51b6442fa0d496a6e0088017890;p=oweals%2Fopenssl.git diff --git a/apps/ec.c b/apps/ec.c index a763daa653..771e15f357 100644 --- a/apps/ec.c +++ b/apps/ec.c @@ -56,6 +56,7 @@ * */ +#include #ifndef OPENSSL_NO_EC #include #include @@ -243,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"); @@ -346,7 +347,10 @@ bad: } if (noout) + { + ret = 0; goto end; + } BIO_printf(bio_err, "writing EC key\n"); if (outformat == FORMAT_ASN1)