VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Format.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-15 00:37:26 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-15 01:09:20 +0200
commit24560eae1d434e57cde1aa5c7ca2d3fa0d7c42a3 (patch)
tree95294e19bbd61d330e57d35b844c1321303c8b38 /src/Common/Format.c
parent67031da928735e1d3b6bfca8d393a07d98e478dd (diff)
downloadVeraCrypt-24560eae1d434e57cde1aa5c7ca2d3fa0d7c42a3.tar.gz
VeraCrypt-24560eae1d434e57cde1aa5c7ca2d3fa0d7c42a3.zip
Windows: fill unused/reserved header areas with the result of encryption of random data instead of the encryption of zeros for better entropy of resulting random data.
Diffstat (limited to 'src/Common/Format.c')
-rw-r--r--src/Common/Format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Format.c b/src/Common/Format.c
index ead65463..4df27c1e 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);
+ nStatus = WriteRandomDataToReservedHeaderAreas (hwndDlg, dev, cryptoInfo, dataAreaSize, FALSE, FALSE, FALSE);
if (nStatus != ERR_SUCCESS)
goto error;