From: Guus Sliepen Date: Fri, 5 Jun 2009 14:14:31 +0000 (+0200) Subject: Properly set HMAC length for incoming packets. X-Git-Tag: release-1.0.10~53 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=261d1eac1c5bbe6c87aa707566f290e611169432;p=tinc Properly set HMAC length for incoming packets. --- diff --git a/src/protocol_key.c b/src/protocol_key.c index 64225fd2..41479148 100644 --- a/src/protocol_key.c +++ b/src/protocol_key.c @@ -154,6 +154,7 @@ bool send_ans_key(node_t *to) to->incipher = myself->incipher; to->inkeylength = myself->inkeylength; to->indigest = myself->indigest; + to->inmaclength = myself->inmaclength; to->incompression = myself->incompression; // Allocate memory for key