diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-07-19 19:31:54 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-07-19 19:31:54 +0200 |
commit | 836221aaf5420afe8ff4719780426251c222b87d (patch) | |
tree | 12a66ff491e38f75bb922c21616b93fd24b85ddf /dep/CascLib/src/CascDecrypt.cpp | |
parent | cc07a491f64fa958c8a27079bd2def84c577f816 (diff) | |
parent | d463273ab1c8efb9dd6000ee5cb8f780574cdd1e (diff) |
Merge branch 'legion' into 6.x
Diffstat (limited to 'dep/CascLib/src/CascDecrypt.cpp')
-rw-r--r-- | dep/CascLib/src/CascDecrypt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |