summary refs log tree commit diff
path: root/crypto/src/asn1/ASN1StreamParser.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-11-12 02:29:29 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-11-12 02:29:29 +0700
commitce8e00d99e7fb5d1fa9780abd41855ece965cd8a (patch)
tree04811c25254b1d9e580c84ba7ace4ff10749fc6f /crypto/src/asn1/ASN1StreamParser.cs
parentReimplement application-specific over tagged object (diff)
downloadBouncyCastle.NET-ed25519-ce8e00d99e7fb5d1fa9780abd41855ece965cd8a.tar.xz
Make cast more specific
Diffstat (limited to 'crypto/src/asn1/ASN1StreamParser.cs')
-rw-r--r--crypto/src/asn1/ASN1StreamParser.cs2
1 files changed, 1 insertions, 1 deletions
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);
                 }