summary refs log tree commit diff
path: root/crypto/src/asn1/DERExternal.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-01-02 17:19:19 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-01-02 17:19:19 +0700
commit165f6ce1f276080e1a871cf7eba2f41b381abb3c (patch)
tree9e8b85b81098c4599f68a21da480e546ee27ed3d /crypto/src/asn1/DERExternal.cs
parentUpdate X509NameTests, including some TODOs (diff)
downloadBouncyCastle.NET-ed25519-165f6ce1f276080e1a871cf7eba2f41b381abb3c.tar.xz
Refactoring around Asn1TaggedObject
Diffstat (limited to 'crypto/src/asn1/DERExternal.cs')
-rw-r--r--crypto/src/asn1/DERExternal.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/DERExternal.cs b/crypto/src/asn1/DERExternal.cs
index cfe0ae701..975cd1665 100644
--- a/crypto/src/asn1/DERExternal.cs
+++ b/crypto/src/asn1/DERExternal.cs
@@ -251,7 +251,7 @@ namespace Org.BouncyCastle.Asn1
 
         private static Asn1Object GetExternalContent(Asn1TaggedObject encoding)
         {
-            Asn1Utilities.CheckContextTag(encoding);
+            Asn1Utilities.CheckContextTagClass(encoding);
 
             switch (encoding.TagNo)
             {