From ce8e00d99e7fb5d1fa9780abd41855ece965cd8a Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 12 Nov 2021 02:29:29 +0700 Subject: Make cast more specific --- crypto/src/asn1/ASN1StreamParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/asn1/ASN1StreamParser.cs') diff --git a/crypto/src/asn1/ASN1StreamParser.cs b/crypto/src/asn1/ASN1StreamParser.cs index f896227f8..51af50728 100644 --- a/crypto/src/asn1/ASN1StreamParser.cs +++ b/crypto/src/asn1/ASN1StreamParser.cs @@ -159,7 +159,7 @@ namespace Org.BouncyCastle.Asn1 Asn1StreamParser sub = new Asn1StreamParser(defIn, defIn.Remaining, tmpBuffers); if (Asn1Tags.Application == tagClass) - return (DerApplicationSpecific)sub.ReadTaggedObject(tagClass, tagNo, isConstructed); + return (DLApplicationSpecific)sub.ReadTaggedObject(tagClass, tagNo, isConstructed); return new BerTaggedObjectParser(tagClass, tagNo, isConstructed, sub); } -- cgit 1.4.1