diff packet.c @ 232:cbf1165d9386

trans, not recv for macsize
author Matt Johnston <matt@ucc.asn.au>
date Tue, 30 Aug 2005 17:56:53 +0000
parents 5e4110bb753a
children c5d3ef11155f
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,