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:
@@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user