projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Return 0 for succesful exit when -noout is used.
[openssl.git]
/
apps
/
rsa.c
diff --git
a/apps/rsa.c
b/apps/rsa.c
index 9b723ee406cc9ceaaac4981a10841dbfef5bfd11..dd58a179a5ecbfc7844858107f4ce0f20f4de9ae 100644
(file)
--- 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);