diff options
Diffstat (limited to 'CPP/7zip/Crypto/ZipStrong.cpp')
-rwxr-xr-x | CPP/7zip/Crypto/ZipStrong.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CPP/7zip/Crypto/ZipStrong.cpp b/CPP/7zip/Crypto/ZipStrong.cpp index d635fee1..1554b348 100755 --- a/CPP/7zip/Crypto/ZipStrong.cpp +++ b/CPP/7zip/Crypto/ZipStrong.cpp @@ -114,6 +114,12 @@ HRESULT CDecoder::CheckPassword(bool &passwOK) _key.KeySize = 16 + algId * 8; if ((flags & 1) == 0) return E_NOTIMPL; + if ((flags & 0x4000) != 0) + { + // Use 3DES + return E_NOTIMPL; + } + UInt32 rdSize = GetUi16(p + 8); if ((rdSize & 0xF) != 0 || rdSize + 16 > _remSize) return E_NOTIMPL; |