VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/SecurityToken.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-28 00:59:57 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-28 01:06:39 +0200
commit885cc1d01d569b9a7b702aa81a2308c88a4e309c (patch)
treed9fbf25a97060ee6c96bdb7591feb6fc8eaec581 /src/Common/SecurityToken.cpp
parentfded83d25cf8f8b4bbd80a1250c4777063ddc221 (diff)
downloadVeraCrypt-885cc1d01d569b9a7b702aa81a2308c88a4e309c.tar.gz
VeraCrypt-885cc1d01d569b9a7b702aa81a2308c88a4e309c.zip
Linux/MacOSX: Erase sensitive memory explicitly instead of relying on the compiler not optimizing calls to method Memory::Erase
Diffstat (limited to 'src/Common/SecurityToken.cpp')
-rw-r--r--src/Common/SecurityToken.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Common/SecurityToken.cpp b/src/Common/SecurityToken.cpp
index 03de8a2a..8401a0eb 100644
--- a/src/Common/SecurityToken.cpp
+++ b/src/Common/SecurityToken.cpp
@@ -32,10 +32,6 @@
#include "SecurityToken.h"
-#ifndef burn
-# define burn Memory::Erase
-#endif
-
using namespace std;
namespace VeraCrypt