# HG changeset patch # User Matt Johnston # Date 1340983479 -28800 # Node ID f31fce2430e8612d41d2f05986ceaaf3023c4f68 # Parent bd4b5d7886e5ecc4bbebd246e2b35f1e5406168d increase MAX_MAC_LEN for sha2 diff -r bd4b5d7886e5 -r f31fce2430e8 sysoptions.h --- a/sysoptions.h Wed May 16 21:56:50 2012 +0800 +++ b/sysoptions.h Fri Jun 29 23:24:39 2012 +0800 @@ -84,7 +84,7 @@ #define MD5_HASH_SIZE 16 /* largest of MD5 and SHA1 */ -#define MAX_MAC_LEN SHA1_HASH_SIZE +#define MAX_MAC_LEN 64 #define MAX_KEY_LEN 32 /* 256 bits for aes256 etc */