From ee0a2659da24b4b7543f52647fb2d8cbbd12408c Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 21 Jan 2019 00:42:53 +0100 Subject: Windows driver: remove volumes master keys from CRYPTO_INFO since they are not needed after their key schedule is created --- src/Common/Fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common/Fat.c') diff --git a/src/Common/Fat.c b/src/Common/Fat.c index 0d195614..b47e531c 100644 --- a/src/Common/Fat.c +++ b/src/Common/Fat.c @@ -416,7 +416,7 @@ FormatFat (void* hwndDlgPtr, unsigned __int64 startSector, fatparams * ft, void burn (temporaryKey, sizeof(temporaryKey)); return retVal; } - if (!EAInitMode (cryptoInfo)) + if (!EAInitMode (cryptoInfo, cryptoInfo->k2)) { burn (temporaryKey, sizeof(temporaryKey)); return ERR_MODE_INIT_FAILED; -- cgit v1.2.3