VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Library/DcsCfgLib
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-10-08 11:12:20 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-10-17 18:17:49 +0200
commit012c9134d4f6e29c2e13e56490e47a8547d41af7 (patch)
tree2175a5b43db90c323793b35627639bfa3268a8ae /Library/DcsCfgLib
parentc97186ae96d4835841b02d377a9002d078a6f83b (diff)
downloadVeraCrypt-DCS-012c9134d4f6e29c2e13e56490e47a8547d41af7.tar.gz
VeraCrypt-DCS-012c9134d4f6e29c2e13e56490e47a8547d41af7.zip
define and use own version of secure memory erase macro instead of the one coming from VeraCrypt.
Diffstat (limited to 'Library/DcsCfgLib')
-rw-r--r--Library/DcsCfgLib/GptEdit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/DcsCfgLib/GptEdit.c b/Library/DcsCfgLib/GptEdit.c
index a33d3ca..ea016f1 100644
--- a/Library/DcsCfgLib/GptEdit.c
+++ b/Library/DcsCfgLib/GptEdit.c
@@ -903,8 +903,8 @@ DeListPwdCacheEdit()
DePwdCache->CRC = 0;
res =gBS->CalculateCrc32(DePwdCache, 512, &crc);
DePwdCache->CRC = crc;
- burn (&pwd, sizeof(pwd));
- burn (&pim, sizeof(pim));
+ MEM_BURN (&pwd, sizeof(pwd));
+ MEM_BURN (&pim, sizeof(pim));
return res;
}