From: Christopher Faulet Date: Fri, 3 Jun 2022 08:21:27 +0000 (+0200) Subject: BUG/MINOR: ssl_ckch: Use right type for old entry in show_crlfile_ctx X-Git-Tag: v2.7-dev1~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51095ee236bbbdfdcb1e71ef102c0912b79b4ad7;p=thirdparty%2Fhaproxy.git BUG/MINOR: ssl_ckch: Use right type for old entry in show_crlfile_ctx Because of a typo (I guess), an unknown type is used for the old entry in show_crlfile_ctx structure. Because this field is unused, there is no compilation error. But it must be a cafile_entry and not a crlfile_entry. Note this field is not used for now, but it will be used. This patch must be backported to 2.6. --- diff --git a/src/ssl_ckch.c b/src/ssl_ckch.c index 1cfc9941fa..601cec9354 100644 --- a/src/ssl_ckch.c +++ b/src/ssl_ckch.c @@ -73,7 +73,7 @@ struct show_cafile_ctx { /* CLI context used by "show crlfile" */ struct show_crlfile_ctx { struct cafile_entry *cafile_entry; - struct crlfile_entry *old_crlfile_entry; + struct cafile_entry *old_crlfile_entry; int index; };