From 41c12afefd1bd3917d76bf700befa7d54a1cd4c8 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 30 Dec 2014 22:29:42 +0100 Subject: 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. --- src/Driver/DriveFilter.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Driver/DriveFilter.c b/src/Driver/DriveFilter.c index e3cb4056..328f348e 100644 --- a/src/Driver/DriveFilter.c +++ b/src/Driver/DriveFilter.c @@ -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; - } } } -- cgit v1.2.3