From 1c419739a2e5b1ce22e4d0d9c9d1413b5048a172 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 25 Jun 2013 05:49:38 +0200 Subject: [PATCH] Only position legacy flag if the first release of VeraCrypt is detected --- src/Common/Volumes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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