]> git.ipfire.org Git - thirdparty/openssl.git/commit
x509_print_ex: Remove unused setting when XN_FLAG_COMPAT is set
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Thu, 22 Dec 2022 22:15:55 +0000 (17:15 -0500)
committerMatt Caswell <matt@openssl.org>
Thu, 26 Oct 2023 14:50:13 +0000 (15:50 +0100)
commit69bf1aa91e85ccdc8a6b4dc19d95d4801975192e
tree3ce052ff69dae9abdc69f9c0f00ca9877ba76bed
parentaa1a5ea8451a348e2a3c76702afe8836546c3c60
x509_print_ex: Remove unused setting when XN_FLAG_COMPAT is set

Calling X509_NAME_print_ex with XN_FLAG_COMPAT falls back to calling
X509_NAME_print().  The obase parameter to X509_NAME_print() is not
used, so setting it to a different value has no effect.

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

(cherry picked from commit 2126ca3dba3907f49b232442c06db1cae8bee0c3)
crypto/x509/t_req.c
crypto/x509/t_x509.c