]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl_ckch: Dump CA transaction only once if show command yield
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jun 2022 08:42:48 +0000 (10:42 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jun 2022 09:20:38 +0000 (11:20 +0200)
commit5a2154bf7cd40880cb28a8da58c708df9f5f541c
treef38a5a6e46459e04abe24a97cf778c8569f19561
parent9a99e54787634532d18cd5aca3552eeb48a866bf
BUG/MINOR: ssl_ckch: Dump CA transaction only once if show command yield

When loaded CA files are displayed via "show ssl ca-file" command, the
in-progress transaction, if any, is also displayed. However, if the command
yield, the transaction is re-displayed again and again.

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

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