VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2013-06-25 05:49:38 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:18:47 +0100
commit1c419739a2e5b1ce22e4d0d9c9d1413b5048a172 (patch)
tree7166574b71688331edd771ec61cf022137cea54b
parent593d1a3edcf3ece6fb25d6ea7f582b0fbd3d7ae8 (diff)
downloadVeraCrypt-1c419739a2e5b1ce22e4d0d9c9d1413b5048a172.tar.gz
VeraCrypt-1c419739a2e5b1ce22e4d0d9c9d1413b5048a172.zip
Only position legacy flag if the first release of VeraCrypt is detected
-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 3aadd970..8f60bfc0 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