changeset 693:f31fce2430e8 sha2

increase MAX_MAC_LEN for sha2
author Matt Johnston <matt@ucc.asn.au>
date Fri, 29 Jun 2012 23:24:39 +0800
parents bd4b5d7886e5
children
files sysoptions.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 */