From: Nils Larsch Date: Tue, 5 Dec 2006 20:09:25 +0000 (+0000) Subject: return 0 if 'noout' is used and no error has occurred X-Git-Tag: OpenSSL_0_9_8k^2~1044 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=10a10fb83461e666dfc64d74d40564825c93c74c;p=oweals%2Fopenssl.git return 0 if 'noout' is used and no error has occurred PR: 1435 Submitted by: "Haridharan" --- diff --git a/apps/ec.c b/apps/ec.c index 9ddaddfe5e..c63437fe2a 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)