mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-27 13:33:29 +01:00
Only position legacy flag if the first release of VeraCrypt is detected
This commit is contained in:
parent
593d1a3edc
commit
1c419739a2
@ -422,7 +422,7 @@ KeyReady: ;
|
|||||||
|
|
||||||
// Required program version
|
// Required program version
|
||||||
cryptoInfo->RequiredProgramVersion = GetHeaderField16 (header, TC_HEADER_OFFSET_REQUIRED_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
|
// Check CRC of the key set
|
||||||
if (!ReadVolumeHeaderRecoveryMode
|
if (!ReadVolumeHeaderRecoveryMode
|
||||||
|
Loading…
Reference in New Issue
Block a user