]> git.ipfire.org Git - thirdparty/openssl.git/commit - apps/genpkey.c
[apps/genpkey] exit status should not be 0 on output errors
authorNicola Tuveri <nic.tuv@gmail.com>
Fri, 26 Jun 2020 22:42:49 +0000 (01:42 +0300)
committerNicola Tuveri <nic.tuv@gmail.com>
Mon, 6 Jul 2020 16:15:36 +0000 (19:15 +0300)
commit466d30c0d7fa861a5fcbaebd2e2010a8c2aea322
tree3d120f1c001c78140c74e0bde4a11a2aa7d4340b
parente0137ca92b4abf65acde15b255ae58d7e76af22f
[apps/genpkey] exit status should not be 0 on output errors

If the key is to be serialized or printed as text and the framework
returns an error, the app should signal the failure to the user using
a non-zero exit status.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12305)
apps/genpkey.c