VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Volume/VolumeInfo.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/VolumeInfo.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/VolumeInfo.cpp')
-rw-r--r--src/Volume/VolumeInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Volume/VolumeInfo.cpp b/src/Volume/VolumeInfo.cpp
index 28c7f3f..fb6da7e 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);