On Mon, Feb 23, 2026 at 01:06:13AM +0200, Mia Kanashi wrote:
> Subject: [PATCH] BUG/MINOR: acme: fix incorrect number of arguments allowed 
> in config
> ---
>  src/acme.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/acme.c b/src/acme.c
> index 911d468f8..c949925a8 100644
> --- a/src/acme.c
> +++ b/src/acme.c
> @@ -393,7 +393,7 @@ static int cfg_parse_acme_kws(char **args, int 
> section_type, struct proxy *curpx
>                       err_code |= ERR_ALERT | ERR_FATAL;
>                       goto out;
>               }
> -             if (alertif_too_many_args(2, file, linenum, args, &err_code))
> +             if (alertif_too_many_args(1, file, linenum, args, &err_code))
>                       goto out;
>  
>               ha_free(&cur_acme->account.file);
> @@ -410,7 +410,7 @@ static int cfg_parse_acme_kws(char **args, int 
> section_type, struct proxy *curpx
>                       goto out;
>               }
>  
> -             if (alertif_too_many_args(2, file, linenum, args, &err_code))
> +             if (alertif_too_many_args(1, file, linenum, args, &err_code))
>                       goto out;
>  
>               ha_free(&cur_acme->challenge);
> -- 
> 2.52.0
> 
> 

Merged, thanks!


-- 
William Lallemand


Reply via email to