diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-12 02:29:29 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-12 02:29:29 +0700 |
commit | ce8e00d99e7fb5d1fa9780abd41855ece965cd8a (patch) | |
tree | 04811c25254b1d9e580c84ba7ace4ff10749fc6f /crypto/src/asn1/ASN1StreamParser.cs | |
parent | Reimplement application-specific over tagged object (diff) | |
download | BouncyCastle.NET-ed25519-ce8e00d99e7fb5d1fa9780abd41855ece965cd8a.tar.xz |
Make cast more specific
Diffstat (limited to 'crypto/src/asn1/ASN1StreamParser.cs')
-rw-r--r-- | crypto/src/asn1/ASN1StreamParser.cs | 2 |
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); } |