mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
WIP Lib version 2.39.1
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user