diff options
Diffstat (limited to 'crypto/src/asn1/Asn1TaggedObject.cs')
-rw-r--r-- | crypto/src/asn1/Asn1TaggedObject.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/Asn1TaggedObject.cs b/crypto/src/asn1/Asn1TaggedObject.cs index d6722c020..a5a5e9506 100644 --- a/crypto/src/asn1/Asn1TaggedObject.cs +++ b/crypto/src/asn1/Asn1TaggedObject.cs @@ -231,7 +231,7 @@ namespace Org.BouncyCastle.Asn1 [Obsolete("Will be removed")] public Asn1Object GetObject() { - Asn1Utilities.CheckTagClass(this, Asn1Tags.ContextSpecific); + Asn1Utilities.CheckContextTag(this); return m_object.ToAsn1Object(); } |