VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-16 19:11:12 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:20:01 +0100
commitb6dc9e9e159dd2cc9c328e888bbe9f970594a2f4 (patch)
treef9d0aeb61ae3f89affe236d27c162274bbc49940 /src/Main
parentb9e34c30e827f4936caf00b1b6a0b85e93d80a01 (diff)
downloadVeraCrypt-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/Main')
-rw-r--r--src/Main/Forms/VolumePropertiesDialog.cpp4
-rw-r--r--src/Main/UserInterface.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Main/Forms/VolumePropertiesDialog.cpp b/src/Main/Forms/VolumePropertiesDialog.cpp
index 2c2ae114..c5fa2dd8 100644
--- a/src/Main/Forms/VolumePropertiesDialog.cpp
+++ b/src/Main/Forms/VolumePropertiesDialog.cpp
@@ -65,8 +65,8 @@ namespace TrueCrypt
AppendToList ("VOLUME_HEADER_DATE", Gui->VolumeTimeToString (volumeInfo.HeaderCreationTime));
#endif
- AppendToList ("VOLUME_FORMAT_VERSION", StringConverter::ToWide (volumeInfo.MinRequiredProgramVersion < 0x600 ? 1 : 2));
- AppendToList ("BACKUP_HEADER", LangString[volumeInfo.MinRequiredProgramVersion >= 0x600 ? "UISTR_YES" : "UISTR_NO"]);
+ AppendToList ("VOLUME_FORMAT_VERSION", StringConverter::ToWide (volumeInfo.MinRequiredProgramVersion < 0x10b ? 1 : 2));
+ AppendToList ("BACKUP_HEADER", LangString[volumeInfo.MinRequiredProgramVersion >= 0x10b ? "UISTR_YES" : "UISTR_NO"]);
#ifdef TC_LINUX
if (string (volumeInfo.VirtualDevice).find ("/dev/mapper/veracrypt") != 0)
diff --git a/src/Main/UserInterface.cpp b/src/Main/UserInterface.cpp
index 47663c2d..2637d6e6 100644
--- a/src/Main/UserInterface.cpp
+++ b/src/Main/UserInterface.cpp
@@ -276,8 +276,8 @@ namespace TrueCrypt
prop << LangString["MODE_OF_OPERATION"] << L": " << volume.EncryptionModeName << L'\n';
prop << LangString["PKCS5_PRF"] << L": " << volume.Pkcs5PrfName << L'\n';
- prop << LangString["VOLUME_FORMAT_VERSION"] << L": " << (volume.MinRequiredProgramVersion < 0x600 ? 1 : 2) << L'\n';
- prop << LangString["BACKUP_HEADER"] << L": " << LangString[volume.MinRequiredProgramVersion >= 0x600 ? "UISTR_YES" : "UISTR_NO"] << L'\n';
+ prop << LangString["VOLUME_FORMAT_VERSION"] << L": " << (volume.MinRequiredProgramVersion < 0x10b ? 1 : 2) << L'\n';
+ prop << LangString["BACKUP_HEADER"] << L": " << LangString[volume.MinRequiredProgramVersion >= 0x10b ? "UISTR_YES" : "UISTR_NO"] << L'\n';
#ifdef TC_LINUX
if (string (volume.VirtualDevice).find ("/dev/mapper/veracrypt") != 0)