From 51095ee236bbbdfdcb1e71ef102c0912b79b4ad7 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Fri, 3 Jun 2022 10:21:27 +0200 Subject: [PATCH] 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. --- src/ssl_ckch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.47.3