Return 0 for succesful exit when -noout is used.
This commit is contained in:
parent
364836ca1c
commit
2cfa692136
1 changed files with 5 additions and 1 deletions
|
@ -288,7 +288,11 @@ bad:
|
|||
}
|
||||
}
|
||||
|
||||
if (noout) goto end;
|
||||
if (noout)
|
||||
{
|
||||
ret = 0;
|
||||
goto end;
|
||||
}
|
||||
BIO_printf(bio_err,"writing RSA private key\n");
|
||||
if (outformat == FORMAT_ASN1)
|
||||
i=i2d_RSAPrivateKey_bio(out,rsa);
|
||||
|
|
Loading…
Reference in a new issue