summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-08-16 09:25:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-08-16 09:25:50 +0000
commit51784b04c1146106abf9bf4a78e431bbc3c8fcf5 (patch)
tree29a3987d73974da4754a12f707316af3e125c6b4 /src/mir_core
parent12a21c441740e38c193facf21cff57ad37ebb860 (diff)
fix for a misprint
git-svn-id: http://svn.miranda-ng.org/main/trunk@17187 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/sha256.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}