diff options
Diffstat (limited to 'crypto/src/asn1/cms/Evidence.cs')
-rw-r--r-- | crypto/src/asn1/cms/Evidence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/cms/Evidence.cs b/crypto/src/asn1/cms/Evidence.cs index 19dab50c2..d240d234b 100644 --- a/crypto/src/asn1/cms/Evidence.cs +++ b/crypto/src/asn1/cms/Evidence.cs @@ -15,7 +15,7 @@ namespace Org.BouncyCastle.Asn1.Cms if (obj is Evidence evidence) return evidence; if (obj is Asn1TaggedObject taggedObject) - return new Evidence(Asn1Utilities.CheckTagClass(taggedObject, Asn1Tags.ContextSpecific)); + return new Evidence(Asn1Utilities.CheckContextTag(taggedObject)); throw new ArgumentException("Unknown object in GetInstance: " + Platform.GetTypeName(obj), nameof(obj)); } |