From fe4d11c65a512c61ccb924fbf3dc20c8cfc84dc7 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 18 Jul 2016 23:37:19 +0200 Subject: Tools: Extractor updates * VMAP extractor does not work due to a bug in CascLib --- dep/CascLib/src/CascDecrypt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dep/CascLib/src/CascDecrypt.cpp') diff --git a/dep/CascLib/src/CascDecrypt.cpp b/dep/CascLib/src/CascDecrypt.cpp index 5f4dc77dfe8..21477b30e8d 100644 --- a/dep/CascLib/src/CascDecrypt.cpp +++ b/dep/CascLib/src/CascDecrypt.cpp @@ -255,7 +255,7 @@ int CascDecrypt(LPBYTE pbOutBuffer, PDWORD pcbOutBuffer, LPBYTE pbInBuffer, DWOR // Check if we know the key pbKey = FindCascKey(KeyName); if(pbKey == NULL) - return ERROR_UNKNOWN_FILE_KEY; + return ERROR_FILE_ENCRYPTED; // Shuffle the Vector with the block index // Note that there's no point to go beyond 32 bits, unless the file has -- cgit v1.2.3