diff session.h @ 715:cd3d3c63d189

Make hmac-sha2-256 and hmac-sha2-512 work
author Matt Johnston <matt@ucc.asn.au>
date Thu, 21 Mar 2013 22:55:12 +0800
parents bf0ac0512ef7
children 4a274f47eabd
line wrap: on
line diff
--- a/session.h	Thu Mar 21 21:23:34 2013 +0800
+++ b/session.h	Thu Mar 21 22:55:12 2013 +0800
@@ -78,7 +78,7 @@
 		symmetric_CTR ctr;
 #endif
 	} cipher_state;
-	unsigned char mackey[MAX_MAC_KEY];
+	unsigned char mackey[MAX_MAC_LEN];
 };
 
 struct key_context {