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

PR: 1435
Submitted by: "Haridharan" <haridharan@gmail.com>
This commit is contained in:
Nils Larsch 2006-12-05 20:08:03 +00:00
parent 3c786aa6c8
commit 36abe6fe61

View file

@ -347,7 +347,10 @@ bad:
}
if (noout)
{
ret = 0;
goto end;
}
BIO_printf(bio_err, "writing EC key\n");
if (outformat == FORMAT_ASN1)