WIP Lib version 2.39.1

This commit is contained in:
BONNEVILLE Geoffroy
2018-05-22 18:27:44 +02:00
parent 0b95669db0
commit ad02740d8a
43 changed files with 1469 additions and 522 deletions

View File

@@ -136,7 +136,7 @@ namespace ModernKeePassLib.Collections
return false;
}
if(ps.ReadString() != kvp.Value.ReadString()) return false;
if(!ps.Equals(kvp.Value, false)) return false;
}
if(bNeEqStd)
@@ -292,12 +292,7 @@ namespace ModernKeePassLib.Collections
if(ps == null) return; // Nothing to do, no assert
if(ps.IsProtected != bProtect)
{
byte[] pbData = ps.ReadUtf8();
Set(strField, new ProtectedString(bProtect, pbData));
if(bProtect) MemUtil.ZeroByteArray(pbData);
}
Set(strField, ps.WithProtection(bProtect));
}
}
}