diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-08-04 17:58:40 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-08-04 17:58:40 +0700 |
commit | 4af2753c154c2f5cab5a48093a666b275ad81339 (patch) | |
tree | c3e4f221e24f69ae6ed510aa35ef0a5967264229 /crypto/src/asn1/x509/TBSCertList.cs | |
parent | Refactoring in PublicKeyFactory (diff) | |
download | BouncyCastle.NET-ed25519-4af2753c154c2f5cab5a48093a666b275ad81339.tar.xz |
Misc. ASN.1 updates
Diffstat (limited to 'crypto/src/asn1/x509/TBSCertList.cs')
-rw-r--r-- | crypto/src/asn1/x509/TBSCertList.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/x509/TBSCertList.cs b/crypto/src/asn1/x509/TBSCertList.cs index 5767a7f21..2b3646052 100644 --- a/crypto/src/asn1/x509/TBSCertList.cs +++ b/crypto/src/asn1/x509/TBSCertList.cs @@ -193,13 +193,13 @@ namespace Org.BouncyCastle.Asn1.X509 } if (seqPos < seq.Count - && !(seq[seqPos] is DerTaggedObject)) + && !(seq[seqPos] is Asn1TaggedObject)) { revokedCertificates = Asn1Sequence.GetInstance(seq[seqPos++]); } if (seqPos < seq.Count - && seq[seqPos] is DerTaggedObject) + && seq[seqPos] is Asn1TaggedObject) { crlExtensions = X509Extensions.GetInstance(seq[seqPos]); } |