mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: set PIM of favorite to 0 only if TrueCryptMode is explicitly selected.
This commit is contained in:
@@ -678,7 +678,7 @@ namespace VeraCrypt
|
|||||||
else
|
else
|
||||||
favorite.TrueCryptMode = -1;
|
favorite.TrueCryptMode = -1;
|
||||||
|
|
||||||
if (favorite.TrueCryptMode)
|
if (favorite.TrueCryptMode > 0)
|
||||||
favorite.Pim = 0;
|
favorite.Pim = 0;
|
||||||
|
|
||||||
XmlGetAttributeText (xml, "pkcs5", label, sizeof (label));
|
XmlGetAttributeText (xml, "pkcs5", label, sizeof (label));
|
||||||
|
|||||||
Reference in New Issue
Block a user