BUG/MINOR: ssl_ckch: Fix another possible uninitialized value

Commit d6c66f06a ("MINOR: ssl_ckch: Remove service context for "set ssl
crl-file" command") introduced a regression leading to a build error because
of a possible uninitialized value. It is now fixed.

This patch must be backported as far as 2.5.
This commit is contained in:
Christopher Faulet 2022-06-03 16:34:30 +02:00
parent ea2c8c6ba7
commit 1f90f33b69
1 changed files with 2 additions and 2 deletions

View File

@ -3221,8 +3221,8 @@ static int cli_parse_new_crlfile(char **args, char *payload, struct appctx *appc
/* Parsing function of `set ssl crl-file` */
static int cli_parse_set_crlfile(char **args, char *payload, struct appctx *appctx, void *private)
{
struct cafile_entry *old_crlfile_entry;
struct cafile_entry *new_crlfile_entry;
struct cafile_entry *old_crlfile_entry = NULL;
struct cafile_entry *new_crlfile_entry = NULL;
char *err = NULL;
int errcode = 0;
struct buffer *buf;