X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=blobdiff_plain;f=src%2Fdhcpv6.c;fp=src%2Fdhcpv6.c;h=f91f2cf16b8c8ff6fe881310433b98b68e2d8780;hp=cbf6991f31a0b73f841301183104d70575e7104b;hb=ca0693fe09d59a95192c4ad86492f05dfadbbf10;hpb=ecb466590600a2442d167c8b4b80d6c545e63134 diff --git a/src/dhcpv6.c b/src/dhcpv6.c index cbf6991..f91f2cf 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -702,7 +702,8 @@ static bool dhcpv6_response_is_valid(const void *buf, ssize_t len, continue; md5_ctx_t md5; - uint8_t serverhash[16], secretbytes[64], hash[16]; + uint8_t serverhash[16], secretbytes[64]; + uint32_t hash[4]; memcpy(serverhash, r->key, sizeof(serverhash)); memset(r->key, 0, sizeof(r->key));