diff options
author | Ladislav Zezula <ladislav.zezula@avg.com> | 2015-03-17 07:49:42 +0100 |
---|---|---|
committer | Ladislav Zezula <ladislav.zezula@avg.com> | 2015-03-17 07:49:42 +0100 |
commit | e5b9f5132a9010a36db81788e10bb1be07ccf410 (patch) | |
tree | 8cd7344b28befae3bdbe59f4ee9cc789350ea0f8 /src/StormCommon.h | |
parent | c2261d51033088429ba960879dd4d9731e6f9bc1 (diff) |
+ SFileVerify: Added check whether the weak signature is not zeroed out.
+ Typos
Diffstat (limited to 'src/StormCommon.h')
-rw-r--r-- | src/StormCommon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/StormCommon.h b/src/StormCommon.h index cdca0b0..93193cf 100644 --- a/src/StormCommon.h +++ b/src/StormCommon.h @@ -158,6 +158,7 @@ DWORD DetectFileKeyByContent(void * pvEncryptedData, DWORD dwSectorSize, DWORD d DWORD DecryptFileKey(const char * szFileName, ULONGLONG MpqPos, DWORD dwFileSize, DWORD dwFlags); bool IsValidMD5(LPBYTE pbMd5); +bool IsValidSignature(LPBYTE pbSignature); bool VerifyDataBlockHash(void * pvDataBlock, DWORD cbDataBlock, LPBYTE expected_md5); void CalculateDataBlockHash(void * pvDataBlock, DWORD cbDataBlock, LPBYTE md5_hash); |