search for: evp_max_block_length

Displaying 1 result from an estimated 1 matches for "evp_max_block_length".

2011 Jan 03
1
Tinc improvements
...--------- src/net.h ---------------------------------- diff --git a/src/net.h b/src/net.h index 55856e2..ab6bd41 100644 --- a/src/net.h +++ b/src/net.h @@ -31,7 +31,7 @@ #define MTU 1518 /* 1500 bytes payload + 14 bytes ethernet header + 4 bytes VLAN tag */ #endif -#define MAXSIZE (MTU + 4 + EVP_MAX_BLOCK_LENGTH + EVP_MAX_MD_SIZE + MTU/64 + 20) /* MTU + seqno + padding + HMAC + compressor overhead */ +#define MAXSIZE (MTU + 4 + 4 + EVP_MAX_BLOCK_LENGTH + EVP_MAX_MD_SIZE + MTU/64 + 20) /* MTU + flags + seqno + padding + HMAC + compressor overhead */ #define MAXBUFSIZE ((MAXSIZE > 2048 ? MAXSIZE : 2048)...