aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/hashes.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-08-09 16:03:48 +0200
committerKim Alvefur <zash@zash.se>2013-08-09 16:03:48 +0200
commit7dd77281432685907926d50feb2d32c0c2a0ec8c (patch)
treefc6a25f3e3d479e2f2653002fdb120e9a4676ffb /util-src/hashes.c
parent3a97810358162d7bf45920edb93f38863b96e6fb (diff)
parent4041ef0137933b3ef6e0b1de00b26d3f7ee49ad0 (diff)
downloadprosody-7dd77281432685907926d50feb2d32c0c2a0ec8c.tar.gz
prosody-7dd77281432685907926d50feb2d32c0c2a0ec8c.zip
Merge 0.9->trunk
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) {