diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-06-16 19:11:12 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-11-08 23:20:01 +0100 |
commit | b6dc9e9e159dd2cc9c328e888bbe9f970594a2f4 (patch) | |
tree | f9d0aeb61ae3f89affe236d27c162274bbc49940 /src/Volume | |
parent | b9e34c30e827f4936caf00b1b6a0b85e93d80a01 (diff) | |
download | VeraCrypt-b6dc9e9e159dd2cc9c328e888bbe9f970594a2f4.tar.gz VeraCrypt-b6dc9e9e159dd2cc9c328e888bbe9f970594a2f4.zip |
Change legacy version check in newly added Linux/MacOSX sources from 0x600 (TrueCrypt) to 0x10b
Diffstat (limited to 'src/Volume')
-rw-r--r-- | src/Volume/Volume.cpp | 2 | ||||
-rw-r--r-- | src/Volume/VolumeInfo.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Volume/Volume.cpp b/src/Volume/Volume.cpp index ead76ed9..93a38e28 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); diff --git a/src/Volume/VolumeInfo.cpp b/src/Volume/VolumeInfo.cpp index 28c7f3f6..fb6da7e2 100644 --- a/src/Volume/VolumeInfo.cpp +++ b/src/Volume/VolumeInfo.cpp @@ -27,7 +27,7 @@ namespace TrueCrypt sr.Deserialize ("HiddenVolumeProtectionTriggered", HiddenVolumeProtectionTriggered); LoopDevice = sr.DeserializeWString ("LoopDevice"); - if (ProgramVersion >= 0x600) + if (ProgramVersion >= 0x10b) sr.Deserialize ("MinRequiredProgramVersion", MinRequiredProgramVersion); MountPoint = sr.DeserializeWString ("MountPoint"); @@ -39,10 +39,10 @@ namespace TrueCrypt sr.Deserialize ("Size", Size); sr.Deserialize ("SlotNumber", SlotNumber); - if (ProgramVersion >= 0x620) + if (ProgramVersion >= 0x10b) sr.Deserialize ("SystemEncryption", SystemEncryption); - if (ProgramVersion >= 0x600) + if (ProgramVersion >= 0x10b) sr.Deserialize ("TopWriteOffset", TopWriteOffset); sr.Deserialize ("TotalDataRead", TotalDataRead); |