From d33a7bf6bc29af9e3086215d2827f59db6f3cfc5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 6 Aug 2013 14:31:20 +0200 Subject: util.hashes: Correct argument order --- util-src/hashes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-src/hashes.c') diff --git a/util-src/hashes.c b/util-src/hashes.c index 39737ae0..ad25c1a7 100644 --- a/util-src/hashes.c +++ b/util-src/hashes.c @@ -85,7 +85,7 @@ static void hmac(struct hash_desc *desc, const char *key, size_t key_len, 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; } -- cgit v1.2.3