1
0
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:
Mounir IDRASSI
2017-07-02 14:26:15 +02:00
parent d761076903
commit 2db0061741

View File

@@ -678,7 +678,7 @@ namespace VeraCrypt
else
favorite.TrueCryptMode = -1;
if (favorite.TrueCryptMode)
if (favorite.TrueCryptMode > 0)
favorite.Pim = 0;
XmlGetAttributeText (xml, "pkcs5", label, sizeof (label));