mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows: if TrueCrypt volume created with a version prior to 6.0, display this version in the error message to help users understand why it is not working.
This commit is contained in:
@@ -425,7 +425,7 @@ KeyReady: ;
|
||||
{
|
||||
if (cryptoInfo->RequiredProgramVersion < 0x600 || cryptoInfo->RequiredProgramVersion > 0x71a)
|
||||
{
|
||||
status = ERR_UNSUPPORTED_TRUECRYPT_FORMAT;
|
||||
status = ERR_UNSUPPORTED_TRUECRYPT_FORMAT | (((int)cryptoInfo->RequiredProgramVersion) << 16);
|
||||
goto err;
|
||||
}
|
||||
cryptoInfo->LegacyVolume = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user