Commit 36abe6fe authored by Nils Larsch's avatar Nils Larsch
Browse files

return 0 if 'noout' is used and no has occurred

PR: 1435
Submitted by: "Haridharan" <haridharan@gmail.com>
parent 3c786aa6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -347,7 +347,10 @@ bad:
			}

	if (noout) 
		{
		ret = 0;
		goto end;
		}

	BIO_printf(bio_err, "writing EC key\n");
	if (outformat == FORMAT_ASN1)