1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06: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:
Mounir IDRASSI
2014-12-30 22:29:42 +01:00
parent 7c050d681d
commit 41c12afefd

View File

@@ -284,13 +284,6 @@ static NTSTATUS MountDrive (DriveFilterExtension *Extension, Password *password,
Hash* pHash = HashGet(pBootCryptoInfo->pkcs5); Hash* pHash = HashGet(pBootCryptoInfo->pkcs5);
if (pHash && pHash->SystemEncryption) if (pHash && pHash->SystemEncryption)
pkcs5_prf = pBootCryptoInfo->pkcs5; pkcs5_prf = pBootCryptoInfo->pkcs5;
else
{
status = STATUS_UNSUCCESSFUL;
burn (mappedCryptoInfo, BootArgs.CryptoInfoLength);
MmUnmapIoSpace (mappedCryptoInfo, BootArgs.CryptoInfoLength);
goto ret;
}
} }
} }