mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-27 07:02:11 +00:00
BUG/MINOR: ssl_ckch: Init right field when parsing "commit ssl crl-file" cmd
.next_ckchi_link field must be initialized to NULL instead of .next_ckchi in cli_parse_commit_crlfile() function. Only '.nex_ckchi_link' is used in the I/O handler. This patch must be backported as far as 2.5 with some adaptations for the 2.5.
This commit is contained in:
parent
3e94f5d4b6
commit
f814c4aa98
@ -3393,7 +3393,7 @@ static int cli_parse_commit_crlfile(char **args, char *payload, struct appctx *a
|
||||
}
|
||||
/* init the appctx structure */
|
||||
ctx->state = CACRL_ST_INIT;
|
||||
ctx->next_ckchi = NULL;
|
||||
ctx->next_ckchi_link = NULL;
|
||||
ctx->old_crlfile_entry = crlfile_transaction.old_crlfile_entry;
|
||||
ctx->new_crlfile_entry = crlfile_transaction.new_crlfile_entry;
|
||||
ctx->cafile_type = CAFILE_CRL;
|
||||
|
Loading…
Reference in New Issue
Block a user