mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-12 11:29:54 -05:00
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:
6 files changed
+9
-13
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user