From 51784b04c1146106abf9bf4a78e431bbc3c8fcf5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 16 Aug 2016 09:25:50 +0000 Subject: fix for a misprint git-svn-id: http://svn.miranda-ng.org/main/trunk@17187 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/src/sha256.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mir_core/src/sha256.cpp b/src/mir_core/src/sha256.cpp index 70f1de0af6..42b7043f50 100644 --- a/src/mir_core/src/sha256.cpp +++ b/src/mir_core/src/sha256.cpp @@ -315,6 +315,6 @@ MIR_CORE_DLL(void) mir_hmac_sha256(BYTE hashout[MIR_SHA256_HASH_SIZE], const BYT mir_sha256_init(&ctx); mir_sha256_write(&ctx, usedKey, MIR_SHA_BLOCKSIZE); - mir_sha256_write(&ctx, hashout, MIR_SHA1_HASH_SIZE); + mir_sha256_write(&ctx, hashout, MIR_SHA256_HASH_SIZE); mir_sha256_final(&ctx, hashout); } -- cgit v1.2.3