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

PR: 1435
Submitted by: "Haridharan" <haridharan@gmail.com>
This commit is contained in:
Nils Larsch 2006-12-05 20:09:25 +00:00
parent 0f997d0dc3
commit 10a10fb834

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)