summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-07-17 23:22:01 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-07-17 23:22:01 +0700
commit8271429aadb815393c7ae379aaa0f5eba2f91652 (patch)
tree5961e2e473099088570ae78bc5aaa72d6b3df1eb /crypto/src
parentUtility method for selecting AES engine (diff)
downloadBouncyCastle.NET-ed25519-8271429aadb815393c7ae379aaa0f5eba2f91652.tar.xz
Fix warnings
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/util/Arrays.cs8
-rw-r--r--crypto/src/x509/extension/X509ExtensionUtil.cs2
2 files changed, 8 insertions, 2 deletions
diff --git a/crypto/src/util/Arrays.cs b/crypto/src/util/Arrays.cs

index c0c242273..247f3ab77 100644 --- a/crypto/src/util/Arrays.cs +++ b/crypto/src/util/Arrays.cs
@@ -571,7 +571,8 @@ namespace Org.BouncyCastle.Utilities buf[--i] = b; } } - + + [CLSCompliant(false)] public static void Fill( ulong[] buf, ulong b) @@ -611,6 +612,8 @@ namespace Org.BouncyCastle.Utilities Array.Copy(data, 0, tmp, 0, System.Math.Min(newLength, data.Length)); return tmp; } + + [CLSCompliant(false)] public static uint[] CopyOf(uint[] data, int newLength) { uint[] tmp = new uint[newLength]; @@ -787,7 +790,8 @@ namespace Org.BouncyCastle.Utilities Array.Copy(b, 0, rv, a.Length, b.Length); return rv; } - + + [CLSCompliant(false)] public static uint[] Concatenate(uint[] a, uint[] b) { if (a == null) diff --git a/crypto/src/x509/extension/X509ExtensionUtil.cs b/crypto/src/x509/extension/X509ExtensionUtil.cs
index e1f925b08..4d49dccd7 100644 --- a/crypto/src/x509/extension/X509ExtensionUtil.cs +++ b/crypto/src/x509/extension/X509ExtensionUtil.cs
@@ -1,3 +1,5 @@ +using System; + using Org.BouncyCastle.Asn1; namespace Org.BouncyCastle.X509.Extension