diff options
-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 ec29bb4cb07..043d8effa66 100644 --- a/dep/CascLib/src/CascDecrypt.cpp +++ b/dep/CascLib/src/CascDecrypt.cpp @@ -525,7 +525,7 @@ LPBYTE WINAPI CascFindEncryptionKey(HANDLE hStorage, ULONGLONG KeyName) if (hs == NULL) { SetLastError(ERROR_INVALID_HANDLE); - return false; + return NULL; } return CascFindKey(hs, KeyName); |