mirror of
https://github.com/wismna/ModernKeePassLib.git
synced 2025-10-03 15:40:20 -04:00
Downgrade to net standard 1.2
This commit is contained in:
@@ -394,8 +394,8 @@ namespace ModernKeePassLib.Security
|
||||
if(a == null) throw new ArgumentNullException("a");
|
||||
if(b == null) throw new ArgumentNullException("b");
|
||||
|
||||
if(b.IsEmpty) return a;
|
||||
if(a.IsEmpty) return b;
|
||||
if(b.IsEmpty) return a.WithProtection(a.IsProtected || b.IsProtected);
|
||||
if(a.IsEmpty) return b.WithProtection(a.IsProtected || b.IsProtected);
|
||||
if(!a.IsProtected && !b.IsProtected)
|
||||
return new ProtectedString(false, a.ReadString() + b.ReadString());
|
||||
|
||||
|
Reference in New Issue
Block a user