Software /
code /
prosody
Changeset
5768:c892709f035d
util.hashes: Correct argument order
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 06 Aug 2013 14:31:20 +0200 |
parents | 5767:3a30ad76a86a |
children | 5769:f6ea5b3739c9 |
files | util-src/hashes.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/hashes.c Mon Aug 05 20:47:38 2013 +0200 +++ b/util-src/hashes.c Tue Aug 06 14:31:20 2013 +0200 @@ -85,7 +85,7 @@ if (key_len > 64) { desc->Init(desc->ctx); desc->Update(desc->ctx, key, key_len); - desc->Final(desc->ctx, hashedKey); + desc->Final(hashedKey, desc->ctx); key = (const char*)hashedKey; key_len = desc->digestLength; }