summaryrefslogtreecommitdiffhomepage
path: root/packet.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-08-30 17:56:53 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-08-30 17:56:53 +0000
commitc804883350906e0ddbaff7d39f017160ea8d9569 (patch)
tree068c01fa9eb958c2df507059162679b7c6e26281 /packet.c
parentcebbc4e2b77cfedad2d01967952e2ca1f5c5d9a3 (diff)
trans, not recv for macsize
--HG-- extra : convert_revision : 39c4f7320b3a10ef7ef5a41406fe014cc9040ee9
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index ab4d70a..6c90a76 100644
--- a/packet.c
+++ b/packet.c
@@ -531,7 +531,7 @@ static void writemac(buffer * outputbuffer, buffer * clearwritebuf) {
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,