summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/ec.c3
1 files changed, 3 insertions, 0 deletions
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)