From 10a10fb83461e666dfc64d74d40564825c93c74c Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Tue, 5 Dec 2006 20:09:25 +0000 Subject: [PATCH] return 0 if 'noout' is used and no error has occurred PR: 1435 Submitted by: "Haridharan" --- apps/ec.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.25.1