From 335f17b72f567f1bdb9dbc84a1d42d2cf18f1245 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 3 Sep 2016 19:34:52 +0200 Subject: Windows: in case of In-Place encryption, encrypt random data instead of existing data when filling unused space like the other cases. --- src/ExpandVolume/ExpandVolume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ExpandVolume') diff --git a/src/ExpandVolume/ExpandVolume.c b/src/ExpandVolume/ExpandVolume.c index 2235af1a..82c4207e 100644 --- a/src/ExpandVolume/ExpandVolume.c +++ b/src/ExpandVolume/ExpandVolume.c @@ -837,7 +837,7 @@ static int ExpandVolume (HWND hwndDlg, wchar_t *lpszVolume, Password *pVolumePas PCRYPTO_INFO dummyInfo = NULL; LARGE_INTEGER hiddenOffset; - nStatus = WriteRandomDataToReservedHeaderAreas (hwndDlg, dev, cryptoInfo, newDataAreaSize, !backupHeader, backupHeader, FALSE); + nStatus = WriteRandomDataToReservedHeaderAreas (hwndDlg, dev, cryptoInfo, newDataAreaSize, !backupHeader, backupHeader); if (nStatus != ERR_SUCCESS) goto error; -- cgit v1.2.3