Software /
code /
prosody
Diff
util-src/hashes.c @ 5768:c892709f035d
util.hashes: Correct argument order
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 06 Aug 2013 14:31:20 +0200 |
parent | 5576:7656b9f06bb5 |
child | 5774:6ef79af0c445 |
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; }