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.
This commit is contained in:
Christopher Faulet 2022-06-03 10:21:27 +02:00
parent ddc8e1cf8b
commit 51095ee236

View File

@ -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;
};