summary refs log tree commit diff
path: root/crypto/test/src/math
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-11-03 18:59:52 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-11-03 18:59:52 +0700
commit18c7d7e154c48b729ded47601c9b0ddd4f74650b (patch)
tree30e0d05f017ce07e4705e7a7257e505ef27f445f /crypto/test/src/math
parentEmbedAllSources, remove SourceLink (diff)
downloadBouncyCastle.NET-ed25519-18c7d7e154c48b729ded47601c9b0ddd4f74650b.tar.xz
Clenaup warnings
Diffstat (limited to '')
-rw-r--r--crypto/test/src/math/test/BigIntegerTest.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/test/src/math/test/BigIntegerTest.cs b/crypto/test/src/math/test/BigIntegerTest.cs
index f5973c197..8f477d684 100644
--- a/crypto/test/src/math/test/BigIntegerTest.cs
+++ b/crypto/test/src/math/test/BigIntegerTest.cs
@@ -773,11 +773,13 @@ namespace Org.BouncyCastle.Math.Tests
                 BigInteger x = new BigInteger(128, random);
                 object y;
 
+#pragma warning disable SYSLIB0011 // Type or member is obsolete
                 var formatter = new BinaryFormatter();
                 formatter.Serialize(buf, x);
 
                 buf.Position = 0;
                 y = formatter.Deserialize(buf);
+#pragma warning restore SYSLIB0011 // Type or member is obsolete
 
                 Assert.AreEqual(buf.Length, buf.Position);
                 Assert.AreEqual(x, y);