mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
CLEANUP: ssl_ckch: Use corresponding enum for commit_cacrlfile_ctx.cafile_type
There is an enum to determine the entry entry type when changes are committed on a CA/CRL entry. So use it in the service context instead of an integer. This patch may help to fix issue #1731.
This commit is contained in:
parent
33a2745c87
commit
14df913400
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ struct commit_cacrlfile_ctx {
|
|||
struct cafile_entry *new_crlfile_entry;
|
||||
struct ckch_inst_link *next_ckchi_link;
|
||||
struct ckch_inst *next_ckchi;
|
||||
int cafile_type; /* either CA or CRL, depending on the current command */
|
||||
enum cafile_type cafile_type; /* either CA or CRL, depending on the current command */
|
||||
char *err;
|
||||
enum {
|
||||
CACRL_ST_INIT = 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue