]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl_ckch: Dump cert transaction only once if show command yield
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jun 2022 08:46:40 +0000 (10:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jun 2022 09:20:41 +0000 (11:20 +0200)
commit3e94f5d4b6ee7f19ead9925df080e31b60910ef5
tree57b7abcb6cb5c6be313f5a5c71b1eeb9a35093b0
parent5a2154bf7cd40880cb28a8da58c708df9f5f541c
BUG/MINOR: ssl_ckch: Dump cert transaction only once if show command yield

When loaded SSL certificates are displayed via "show ssl cert" command, the
in-progess transaction, if any, is also displayed. However, if the command
yield, the transaction is re-displayed again and again.

To fix the issue, old_ckchs field is used to remember the transaction was
already displayed.

This patch must be backported as far as 2.2.
src/ssl_ckch.c