]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix X509_REQ_print_ex bug
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Thu, 22 Dec 2022 22:04:39 +0000 (17:04 -0500)
committerMatt Caswell <matt@openssl.org>
Thu, 26 Oct 2023 14:48:00 +0000 (15:48 +0100)
commit2b5e028a2f70de216458a5140bcf4ec3d9236eeb
tree7bae3ba8f82608d7550d403c5564983c44266cca
parentda2dd3b51ddd69aae0fd840c0d23afa954c24ded
Fix X509_REQ_print_ex bug

Similar to the bug fixed in 02db7354fe7 (Fix bug in X509_print_ex).
The error return value from X509_NAME_print_ex() is different
depending on whether the flags are XN_FLAG_COMPAT or not.
Apply a similar fix to what was done for X509_print_ex here as well.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/19963)
crypto/x509/t_req.c