From a6f6a0568fa43f0f4b5ed820f22cdf97deafd63b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 9 Aug 2013 16:03:17 +0200 Subject: util.hashes: Silence compiler warning about pointer signedness --- util-src/hashes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-src') diff --git a/util-src/hashes.c b/util-src/hashes.c index ad25c1a7..33041e83 100644 --- a/util-src/hashes.c +++ b/util-src/hashes.c @@ -79,7 +79,7 @@ static void hmac(struct hash_desc *desc, const char *key, size_t key_len, }; int i; - char hashedKey[64]; /* Maximum used digest length */ + unsigned char hashedKey[64]; /* Maximum used digest length */ union xory k_ipad, k_opad; if (key_len > 64) { -- cgit v1.2.3