From 012c9134d4f6e29c2e13e56490e47a8547d41af7 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 8 Oct 2016 11:12:20 +0200 Subject: define and use own version of secure memory erase macro instead of the one coming from VeraCrypt. --- Library/PasswordLib/ConsolePassword.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/PasswordLib/ConsolePassword.c') diff --git a/Library/PasswordLib/ConsolePassword.c b/Library/PasswordLib/ConsolePassword.c index 1b8c48a..fc03d24 100644 --- a/Library/PasswordLib/ConsolePassword.c +++ b/Library/PasswordLib/ConsolePassword.c @@ -116,7 +116,7 @@ AskConsolePwdInt( } while (key.UnicodeChar != CHAR_CARRIAGE_RETURN); if (length != NULL) *length = count; - burn (&key, sizeof (key)); + MEM_BURN (&key, sizeof (key)); // Set end of line if (asciiLine != NULL) { asciiLine[count] = '\0'; -- cgit v1.2.3