mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
util.hashes: Silence compiler warning about pointer signedness
This commit is contained in:
parent
a316833b30
commit
a6f6a0568f
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue