mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 06:06:59 -04:00
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.
This commit is contained in:
parent
4842c5ea8c
commit
7231bf5726
1 changed files with 0 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue