From: Nils Larsch Date: Tue, 5 Dec 2006 20:08:03 +0000 (+0000) Subject: return 0 if 'noout' is used and no has occurred X-Git-Tag: OpenSSL_0_9_8e~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36abe6fe61bdc94396031bb6145cc083db0d718f;p=thirdparty%2Fopenssl.git return 0 if 'noout' is used and no has occurred PR: 1435 Submitted by: "Haridharan" --- diff --git a/apps/ec.c b/apps/ec.c index 9ddaddfe5e7..c63437fe2ac 100644 --- a/apps/ec.c +++ b/apps/ec.c @@ -347,7 +347,10 @@ bad: } if (noout) + { + ret = 0; goto end; + } BIO_printf(bio_err, "writing EC key\n"); if (outformat == FORMAT_ASN1)