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/Common/Format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common/Format.c') diff --git a/src/Common/Format.c b/src/Common/Format.c index 4df27c1e..ead65463 100644 --- a/src/Common/Format.c +++ b/src/Common/Format.c @@ -568,7 +568,7 @@ begin_format: { BOOL bUpdateBackup = FALSE; - nStatus = WriteRandomDataToReservedHeaderAreas (hwndDlg, dev, cryptoInfo, dataAreaSize, FALSE, FALSE, FALSE); + nStatus = WriteRandomDataToReservedHeaderAreas (hwndDlg, dev, cryptoInfo, dataAreaSize, FALSE, FALSE); if (nStatus != ERR_SUCCESS) goto error; -- cgit v1.2.3