The parsing function of the 'do-ocsp-request' action raised an error on
any argument different than the expected 'reason-var' and 'status-var'
ones, but it prevented any 'if' condition from being added at the end.
This patch does not need to be backported.
/*
* Parse the 'do-ocsp-request' action.
- * do-ocsp-request [ status-var <varname> ] [ reason-var <varname> ] [ no-deny | deny ]
+ * do-ocsp-request [ status-var <varname> ] [ reason-var <varname> ]
*/
static enum act_parse_ret parse_do_ocsp_request(const char **args, int *orig_arg, struct proxy *px,
struct act_rule *rule, char **err)
if (!istlen(conf->reason_var))
goto parse_err;
} else
- goto parse_err;
+ break;
++cur_arg;
}