From 7231bf5726031c34d3fc6110dc7cfc04769e48ae Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Thu, 10 Apr 2025 18:43:42 +0200 Subject: [PATCH] MINOR: acme: allow empty payload in acme_jws_payload() Some ACME requests are required to have a JWS with an empty payload, let's be more flexible and allow this function to have an empty buffer. --- src/acme.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/acme.c b/src/acme.c index 10eae68b2..b77803b20 100644 --- a/src/acme.c +++ b/src/acme.c @@ -539,11 +539,6 @@ int acme_jws_payload(struct buffer *req, struct ist nonce, struct ist url, EVP_P int ret = 1; - if (req->data == 0) { - memprintf(errmsg, "no input data"); - goto error; - } - b64payload = alloc_trash_chunk(); b64prot = alloc_trash_chunk(); jwk = alloc_trash_chunk();