diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-10-08 11:12:20 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-10-17 18:17:49 +0200 |
commit | 012c9134d4f6e29c2e13e56490e47a8547d41af7 (patch) | |
tree | 2175a5b43db90c323793b35627639bfa3268a8ae /DcsCfg | |
parent | c97186ae96d4835841b02d377a9002d078a6f83b (diff) | |
download | VeraCrypt-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 'DcsCfg')
-rw-r--r-- | DcsCfg/DcsCfgCrypt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/DcsCfg/DcsCfgCrypt.c b/DcsCfg/DcsCfgCrypt.c index 4b700b6..7295756 100644 --- a/DcsCfg/DcsCfgCrypt.c +++ b/DcsCfg/DcsCfgCrypt.c @@ -168,7 +168,7 @@ ChangePassword( }
VCAskPwd(AskPwdConfirm, &confirmPassword);
if (gAuthPwdCode == AskPwdRetCancel) {
- burn(&newPassword, sizeof(newPassword));
+ MEM_BURN(&newPassword, sizeof(newPassword));
return EFI_NOT_READY;
}
if (newPassword.Length == confirmPassword.Length) {
@@ -200,8 +200,8 @@ ChangePassword( FALSE);
- burn(&newPassword, sizeof(newPassword));
- burn(&confirmPassword, sizeof(confirmPassword));
+ MEM_BURN(&newPassword, sizeof(newPassword));
+ MEM_BURN(&confirmPassword, sizeof(confirmPassword));
if (vcres != 0) {
ERR_PRINT(L"header create error(%x)\n", vcres);
|