changeset 232:cbf1165d9386

trans, not recv for macsize
author Matt Johnston <matt@ucc.asn.au>
date Tue, 30 Aug 2005 17:56:53 +0000
parents 16f552859ee6
children 225e6822ef53
files packet.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packet.c	Tue Aug 30 17:46:34 2005 +0000
+++ b/packet.c	Tue Aug 30 17:56:53 2005 +0000
@@ -531,7 +531,7 @@
 
 	TRACE(("enter writemac"))
 
-	macsize = ses.keys->recv_algo_mac->hashsize;
+	macsize = ses.keys->trans_algo_mac->hashsize;
 	if (macsize > 0) {
 		/* calculate the mac */
 		if (hmac_init(&hmac,