VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-04 15:50:45 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-01-04 16:29:29 +0100
commit4f56a0a53d2195d4a1bb3e36675f6f1eb08e9634 (patch)
tree8a5990b53e36978cb480ad1f1b2a507840d72b79 /src/Common
parentcbc28bd4fe5e1170952d87d80f5e752bf63bd940 (diff)
downloadVeraCrypt-4f56a0a53d2195d4a1bb3e36675f6f1eb08e9634.tar.gz
VeraCrypt-4f56a0a53d2195d4a1bb3e36675f6f1eb08e9634.zip
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.
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Volumes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Volumes.c b/src/Common/Volumes.c
index 7e001004..4acb9296 100644
--- a/src/Common/Volumes.c
+++ b/src/Common/Volumes.c
@@ -423,7 +423,7 @@ KeyReady: ;
cryptoInfo->RequiredProgramVersion = GetHeaderField16 (header, TC_HEADER_OFFSET_REQUIRED_VERSION);
if (truecryptMode)
{
- if (cryptoInfo->RequiredProgramVersion < 0x700 || cryptoInfo->RequiredProgramVersion > 0x71a)
+ if (cryptoInfo->RequiredProgramVersion < 0x600 || cryptoInfo->RequiredProgramVersion > 0x71a)
{
status = ERR_UNSUPPORTED_TRUECRYPT_FORMAT;
goto err;