Properly set HMAC length for incoming packets.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 5 Jun 2009 14:14:31 +0000 (16:14 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 5 Jun 2009 14:14:31 +0000 (16:14 +0200)
src/protocol_key.c

index 64225fd2e1c5611ec7ec93cefdf7ac148b783f9e..41479148930847f864c7233daa9995bc16493a4d 100644 (file)
@@ -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