VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-12-21 01:52:07 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-12-21 01:53:29 +0100
commit2fd699cc667db58a2afd23983f09f3ce9228615e (patch)
tree89d6c404c38e31ca9492fbda067dd73201100c03
parentfcfcd1a2c4c144fcb30b0a340d1d6bb68c37243d (diff)
downloadVeraCrypt-2fd699cc667db58a2afd23983f09f3ce9228615e.tar.gz
VeraCrypt-2fd699cc667db58a2afd23983f09f3ce9228615e.zip
Windows Driver: wipe cached PIM values when passwords are wiped.
-rw-r--r--src/Common/Cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Common/Cache.c b/src/Common/Cache.c
index 3dea0877..4d01118b 100644
--- a/src/Common/Cache.c
+++ b/src/Common/Cache.c
@@ -109,6 +109,7 @@ void AddPasswordToCache (Password *password, int pim)
void WipeCache ()
{
burn (CachedPasswords, sizeof (CachedPasswords));
+ burn (CachedPim, sizeof (CachedPim));
nPasswordIdx = 0;
cacheEmpty = 1;
}