mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01:00
Windows driver: don't fail if the PRF recovered from boot memory is not recognized in case we are dealing with a restored bootloader coming from a version prior to 1.0f.
This commit is contained in:
parent
7c050d681d
commit
41c12afefd
@ -284,13 +284,6 @@ static NTSTATUS MountDrive (DriveFilterExtension *Extension, Password *password,
|
||||
Hash* pHash = HashGet(pBootCryptoInfo->pkcs5);
|
||||
if (pHash && pHash->SystemEncryption)
|
||||
pkcs5_prf = pBootCryptoInfo->pkcs5;
|
||||
else
|
||||
{
|
||||
status = STATUS_UNSUCCESSFUL;
|
||||
burn (mappedCryptoInfo, BootArgs.CryptoInfoLength);
|
||||
MmUnmapIoSpace (mappedCryptoInfo, BootArgs.CryptoInfoLength);
|
||||
goto ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user