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:48:00 +0000 (15:48 +0100)
commit2126ca3dba3907f49b232442c06db1cae8bee0c3
tree7449fdfa2ac8dbf006d185a1e65f86dbab1accfe
parent2b5e028a2f70de216458a5140bcf4ec3d9236eeb
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)
crypto/x509/t_req.c
crypto/x509/t_x509.c