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
No known key found for this signature in database
GPG Key ID: DD0C382D5FCFB8FC

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));