From: William Lallemand Date: Mon, 23 Mar 2026 10:15:55 +0000 (+0100) Subject: BUG/MINOR: acme/cli: wrong argument check in 'acme renew' X-Git-Tag: v3.4-dev8~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d9865a12cf5367b47a068125b9332461a658bfc;p=thirdparty%2Fhaproxy.git BUG/MINOR: acme/cli: wrong argument check in 'acme renew' Argument check should be args[2] instead of args[1] which is always 'renew'. Must be backported to 3.2 and later. --- diff --git a/src/acme.c b/src/acme.c index 55b6c6cd3..aa0a6c51a 100644 --- a/src/acme.c +++ b/src/acme.c @@ -2729,7 +2729,7 @@ static int cli_acme_renew_parse(char **args, char *payload, struct appctx *appct struct ckch_store *store = NULL; char *errmsg = NULL; - if (!*args[1]) { + if (!*args[2]) { memprintf(&errmsg, ": not enough parameters\n"); goto err; }