]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl_ckch: Dump CRL transaction only once if show command yield
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jun 2022 08:32:18 +0000 (10:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jun 2022 09:20:34 +0000 (11:20 +0200)
commit9a99e54787634532d18cd5aca3552eeb48a866bf
tree752a22f1647f992fde015bffc6819075270296f2
parent51095ee236bbbdfdcb1e71ef102c0912b79b4ad7
BUG/MINOR: ssl_ckch: Dump CRL transaction only once if show command yield

When loaded CRL files are displayed via "show ssl crl-file" 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_crlfile_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