Windows: in case of In-Place encryption, encrypt random data instead of existing data when filling unused space like the other cases.

This commit is contained in:
Mounir IDRASSI committed 2016-09-11 13:12:45 +02:00
1 parent 735657a254
commit 335f17b72f
6 files changed
+9 -13

No files matched your search

+1 -1
View File
@@ -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;