From a28fee8cde3c115ad792909316ffd8e5256af2f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Mih=C3=A1ly?= Date: Fri, 8 Jan 2021 09:19:33 +0000 Subject: [PATCH] Fix typo in acme --- src/apps/relay/acme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/relay/acme.c b/src/apps/relay/acme.c index f713d34..28d78a2 100644 --- a/src/apps/relay/acme.c +++ b/src/apps/relay/acme.c @@ -21,7 +21,7 @@ static int is_acme_req(char *req, size_t len) { // Usually (for LE) the "method path" is 32 + 43 = 55 chars. But other // implementations may choose longer pathes. We define PATHMAX = 127 chars // to be prepared for "DoS" attacks (STUN msg size max. is ~ 64K). - len =- 21; // min size of trailing headers + len -= 21; // min size of trailing headers if (len > 131) len = 131; for (i=GET_ACME_PREFIX_LEN; i < (int) len; i++) {