# HG changeset patch # User Kim Alvefur # Date 1375792280 -7200 # Node ID c892709f035d1696d51e63186a05e79680f99560 # Parent 3a30ad76a86a2468ae9e55811bf90c8b4307b609 util.hashes: Correct argument order diff -r 3a30ad76a86a -r c892709f035d util-src/hashes.c --- 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; }