mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2024-09-09 11:01:31 +02:00
Windows Driver: wipe cached PIM values when passwords are wiped.
This commit is contained in:
parent
fcfcd1a2c4
commit
2fd699cc66
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ void AddPasswordToCache (Password *password, int pim)
|
||||||
void WipeCache ()
|
void WipeCache ()
|
||||||
{
|
{
|
||||||
burn (CachedPasswords, sizeof (CachedPasswords));
|
burn (CachedPasswords, sizeof (CachedPasswords));
|
||||||
|
burn (CachedPim, sizeof (CachedPim));
|
||||||
nPasswordIdx = 0;
|
nPasswordIdx = 0;
|
||||||
cacheEmpty = 1;
|
cacheEmpty = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue