From 5aa30847ae2f147ec0240df9c78949939f94fbc7 Mon Sep 17 00:00:00 2001 From: Mia Kanashi Date: Mon, 23 Feb 2026 01:06:13 +0200 Subject: [PATCH] BUG/MINOR: acme: fix incorrect number of arguments allowed in config Fix incorrect number of arguments allowed in config for keywords "chalenge" and "account-key". --- src/acme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acme.c b/src/acme.c index b274dd2f8..c3611a199 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.47.3