VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2013-06-25 03:49:38 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:18:47 (GMT)
commit1c419739a2e5b1ce22e4d0d9c9d1413b5048a172 (patch)
tree7166574b71688331edd771ec61cf022137cea54b /src
parent593d1a3edcf3ece6fb25d6ea7f582b0fbd3d7ae8 (diff)
downloadVeraCrypt-1c419739a2e5b1ce22e4d0d9c9d1413b5048a172.zip
VeraCrypt-1c419739a2e5b1ce22e4d0d9c9d1413b5048a172.tar.gz
Only position legacy flag if the first release of VeraCrypt is detected
Diffstat (limited to 'src')
-rw-r--r--src/Common/Volumes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Volumes.c b/src/Common/Volumes.c
index 3aadd97..8f60bfc 100644
--- a/src/Common/Volumes.c
+++ b/src/Common/Volumes.c
@@ -422,7 +422,7 @@ KeyReady: ;
// Required program version
cryptoInfo->RequiredProgramVersion = GetHeaderField16 (header, TC_HEADER_OFFSET_REQUIRED_VERSION);
- cryptoInfo->LegacyVolume = cryptoInfo->RequiredProgramVersion < 0x600;
+ cryptoInfo->LegacyVolume = cryptoInfo->RequiredProgramVersion < 0x10b;
// Check CRC of the key set
if (!ReadVolumeHeaderRecoveryMode