summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-04-15 19:16:29 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-04-15 19:16:29 +0700
commitd33a46307678e1a4c6e1375d92818b41cd478c5c (patch)
tree89e39b26cc59a7101281d59fcb04736408acb46c /crypto/src
parentMerge branch 'dtls-resend-time' (diff)
downloadBouncyCastle.NET-ed25519-d33a46307678e1a4c6e1375d92818b41cd478c5c.tar.xz
Code cleanup
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/asn1/cmp/NestedMessageContent.cs2
-rw-r--r--crypto/src/asn1/cmp/PKIStatusInfo.cs2
2 files changed, 0 insertions, 4 deletions
diff --git a/crypto/src/asn1/cmp/NestedMessageContent.cs b/crypto/src/asn1/cmp/NestedMessageContent.cs
index b9e62e218..fc73fac1b 100644
--- a/crypto/src/asn1/cmp/NestedMessageContent.cs
+++ b/crypto/src/asn1/cmp/NestedMessageContent.cs
@@ -23,9 +23,7 @@ namespace Org.BouncyCastle.Asn1.Cmp
 
         public static new NestedMessageContent GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
         {
-#pragma warning disable CS0618 // Type or member is obsolete
             return GetInstance(Asn1Sequence.GetInstance(taggedObject, declaredExplicit));
-#pragma warning restore CS0618 // Type or member is obsolete
         }
 
         public NestedMessageContent(PkiMessage msg)
diff --git a/crypto/src/asn1/cmp/PKIStatusInfo.cs b/crypto/src/asn1/cmp/PKIStatusInfo.cs
index fe5cc718c..17473efc8 100644
--- a/crypto/src/asn1/cmp/PKIStatusInfo.cs
+++ b/crypto/src/asn1/cmp/PKIStatusInfo.cs
@@ -20,9 +20,7 @@ namespace Org.BouncyCastle.Asn1.Cmp
 
         public static PkiStatusInfo GetInstance(Asn1TaggedObject obj, bool isExplicit)
         {
-#pragma warning disable CS0618 // Type or member is obsolete
             return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
-#pragma warning restore CS0618 // Type or member is obsolete
         }
 
 		private readonly DerInteger status;