Fix typo in acme
This commit is contained in:
parent
9bf9cda5b8
commit
a28fee8cde
@ -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++) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user