From e5b9f5132a9010a36db81788e10bb1be07ccf410 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Tue, 17 Mar 2015 07:49:42 +0100 Subject: + SFileVerify: Added check whether the weak signature is not zeroed out. + Typos --- test/StormTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') 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) -- cgit v1.2.3