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/Main/UserInterface.cpp | |
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/Main/UserInterface.cpp')
-rw-r--r-- | src/Main/UserInterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) |