mirror of
https://github.com/wismna/ModernKeePassLib.git
synced 2025-10-03 15:40:20 -04:00
Update to version 2.42.1
Some changes Removed FutureAccesList code as it works only with UWP
This commit is contained in:
@@ -264,8 +264,7 @@ namespace ModernKeePassLib.Utility
|
||||
[MethodImpl(MioNoOptimize)]
|
||||
public static void ZeroByteArray(byte[] pbArray)
|
||||
{
|
||||
Debug.Assert(pbArray != null);
|
||||
if(pbArray == null) throw new ArgumentNullException("pbArray");
|
||||
if(pbArray == null) { Debug.Assert(false); return; }
|
||||
|
||||
Array.Clear(pbArray, 0, pbArray.Length);
|
||||
}
|
||||
@@ -277,7 +276,7 @@ namespace ModernKeePassLib.Utility
|
||||
[MethodImpl(MioNoOptimize)]
|
||||
public static void ZeroArray<T>(T[] v)
|
||||
{
|
||||
if(v == null) { Debug.Assert(false); throw new ArgumentNullException("v"); }
|
||||
if(v == null) { Debug.Assert(false); return; }
|
||||
|
||||
Array.Clear(v, 0, v.Length);
|
||||
}
|
||||
|
Reference in New Issue
Block a user