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:49:58 +0000 (15:49 +0100)
commit436c75b74917b907c9f704caa6e021c3bfb33341
tree9ded55b6c6c5acf2c41cea96d55a66821ea0000e
parentb01e6bcdc2e91941ac9d809a0d5e1b519a79ebcf
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