VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Volume/Volume.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-16 17:11:12 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:20:01 (GMT)
commitb6dc9e9e159dd2cc9c328e888bbe9f970594a2f4 (patch)
treef9d0aeb61ae3f89affe236d27c162274bbc49940 /src/Volume/Volume.cpp
parentb9e34c30e827f4936caf00b1b6a0b85e93d80a01 (diff)
downloadVeraCrypt-b6dc9e9e159dd2cc9c328e888bbe9f970594a2f4.zip
VeraCrypt-b6dc9e9e159dd2cc9c328e888bbe9f970594a2f4.tar.gz
Change legacy version check in newly added Linux/MacOSX sources from 0x600 (TrueCrypt) to 0x10b
Diffstat (limited to 'src/Volume/Volume.cpp')
-rw-r--r--src/Volume/Volume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Volume/Volume.cpp b/src/Volume/Volume.cpp
index ead76ed..93a38e2 100644
--- a/src/Volume/Volume.cpp
+++ b/src/Volume/Volume.cpp
@@ -194,7 +194,7 @@ namespace TrueCrypt
{
// Header decrypted
- if (typeid (*layout) == typeid (VolumeLayoutV2Normal) && header->GetRequiredMinProgramVersion() < 0x600)
+ if (typeid (*layout) == typeid (VolumeLayoutV2Normal) && header->GetRequiredMinProgramVersion() < 0x10b)
{
// VolumeLayoutV1Normal has been opened as VolumeLayoutV2Normal
layout.reset (new VolumeLayoutV1Normal);