From: Bodo Möller Date: Tue, 17 Aug 1999 08:33:59 +0000 (+0000) Subject: Return 0 for succesful exit when -noout is used. X-Git-Tag: OpenSSL_0_9_5beta1~574 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2cfa692136da461b08008dd751595f8879672a36;p=oweals%2Fopenssl.git Return 0 for succesful exit when -noout is used. --- diff --git a/apps/rsa.c b/apps/rsa.c index 9b723ee406..dd58a179a5 100644 --- a/apps/rsa.c +++ b/apps/rsa.c @@ -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);