1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows: Add support for TrueCrypt 6.x since its format (v4) is identical to 7.x apart from the sector size field which we already handle correctly.

This commit is contained in:
Mounir IDRASSI
2015-01-04 15:50:45 +01:00
parent cbc28bd4fe
commit 4f56a0a53d

View File

@@ -423,7 +423,7 @@ KeyReady: ;
cryptoInfo->RequiredProgramVersion = GetHeaderField16 (header, TC_HEADER_OFFSET_REQUIRED_VERSION); cryptoInfo->RequiredProgramVersion = GetHeaderField16 (header, TC_HEADER_OFFSET_REQUIRED_VERSION);
if (truecryptMode) if (truecryptMode)
{ {
if (cryptoInfo->RequiredProgramVersion < 0x700 || cryptoInfo->RequiredProgramVersion > 0x71a) if (cryptoInfo->RequiredProgramVersion < 0x600 || cryptoInfo->RequiredProgramVersion > 0x71a)
{ {
status = ERR_UNSUPPORTED_TRUECRYPT_FORMAT; status = ERR_UNSUPPORTED_TRUECRYPT_FORMAT;
goto err; goto err;