]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: change issuers-chain for show_cert_detail()
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 17 Jul 2024 09:37:04 +0000 (11:37 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 17 Jul 2024 14:52:06 +0000 (16:52 +0200)
commitae8c3f7f7740da32883d1d34a718107f5933a2c1
tree884830470186eed8c52934e35cfa79dc4c8fb160
parent344c3ce8fc08daaed7b2828aed6ccd8c3da9ee1b
MINOR: ssl: change issuers-chain for show_cert_detail()

Since data->chain is now completed when loading the files, we don't need
to use ssl_get0_issuer_chain() anywhere else in the code.

data->chain will always be completed once the files are loaded, but we
can't know from show_cert_detail() from what chain file it was completed.
That's why the extra_chain pointer was added to dump the chain file.
src/ssl_ckch.c