From 71b264258825f4d14ce01530cdc833ffdf2e3b46 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(-) 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