mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-08 00:02:18 -04:00
MINOR: ssl-ckch: Stop to test CF_WRITE_ERROR to commit CA/CRL file
This change was performed on all applet I/O handlers but one was missed. In the CLI I/O handler used to commit a CA/CRL file, we can remove the test on CF_WRITE_ERROR because there is already a test on CF_SHUTW.
This commit is contained in:
parent
e008402972
commit
11fddb9655
1 changed files with 1 additions and 1 deletions
|
|
@ -2824,7 +2824,7 @@ static int cli_io_handler_commit_cafile_crlfile(struct appctx *appctx)
|
|||
struct ckch_inst_link *ckchi_link;
|
||||
char *path;
|
||||
|
||||
if (unlikely(sc_ic(sc)->flags & (CF_WRITE_ERROR|CF_SHUTW)))
|
||||
if (unlikely(sc_ic(sc)->flags & CF_SHUTW))
|
||||
goto end;
|
||||
|
||||
/* The ctx was already validated by the ca-file/crl-file parsing
|
||||
|
|
|
|||
Loading…
Reference in a new issue