aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/hashes.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-08-09 16:03:17 +0200
committerKim Alvefur <zash@zash.se>2013-08-09 16:03:17 +0200
commit71b264258825f4d14ce01530cdc833ffdf2e3b46 (patch)
tree0681892d844231e6b8913404c42efcacb6b0de1e /util-src/hashes.c
parent38afaddecc5f6515b23ddb18462d9eb46ac13d28 (diff)
downloadprosody-71b264258825f4d14ce01530cdc833ffdf2e3b46.tar.gz
prosody-71b264258825f4d14ce01530cdc833ffdf2e3b46.zip
util.hashes: Silence compiler warning about pointer signednessvault/0.9.0
Diffstat (limited to 'util-src/hashes.c')
-rw-r--r--util-src/hashes.c2
1 files changed, 1 insertions, 1 deletions
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) {