提交 2cfa6921 编写于 作者: B Bodo Möller

Return 0 for succesful exit when -noout is used.

上级 364836ca
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册