aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLadislav Zezula <ladislav.zezula@avg.com>2015-03-17 07:49:42 +0100
committerLadislav Zezula <ladislav.zezula@avg.com>2015-03-17 07:49:42 +0100
commite5b9f5132a9010a36db81788e10bb1be07ccf410 (patch)
tree8cd7344b28befae3bdbe59f4ee9cc789350ea0f8 /test
parentc2261d51033088429ba960879dd4d9731e6f9bc1 (diff)
+ SFileVerify: Added check whether the weak signature is not zeroed out.
+ Typos
Diffstat (limited to 'test')
-rw-r--r--test/StormTest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/StormTest.cpp b/test/StormTest.cpp
index 5031322..48beea5 100644
--- a/test/StormTest.cpp
+++ b/test/StormTest.cpp
@@ -4102,7 +4102,7 @@ int main(int argc, char * argv[])
// Open an Warcraft III map locked by the BOBA protector
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPQ_2002_v1_ProtectedMap_BOBA.w3m");
-*/
+
// Open an Warcraft III map locked by a protector
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPQ_2015_v1_ProtectedMap_KangTooJee.w3x");
@@ -4198,6 +4198,9 @@ int main(int argc, char * argv[])
// Check archive signature
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive_VerifySignature("MPQ_1999_v1_WeakSignature.exe", "War2Patch_202.exe");
+*/
+ if(nError == ERROR_SUCCESS)
+ nError = TestOpenArchive_VerifySignature("MPQ_2003_v1_WeakSignatureEmpty.exe", "WoW-1.2.3.4211-enUS-patch.exe");
// Check archive signature
if(nError == ERROR_SUCCESS)