summary refs log tree commit diff
path: root/crypto/src/asn1/x509/TBSCertList.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/x509/TBSCertList.cs')
-rw-r--r--crypto/src/asn1/x509/TBSCertList.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/x509/TBSCertList.cs b/crypto/src/asn1/x509/TBSCertList.cs
index 865cfdd3d..2b288850f 100644
--- a/crypto/src/asn1/x509/TBSCertList.cs
+++ b/crypto/src/asn1/x509/TBSCertList.cs
@@ -193,7 +193,7 @@ namespace Org.BouncyCastle.Asn1.X509
             thisUpdate = Time.GetInstance(seq[seqPos++]);
 
 			if (seqPos < seq.Count
-                && (seq[seqPos] is DerUtcTime
+                && (seq[seqPos] is Asn1UtcTime
                    || seq[seqPos] is Asn1GeneralizedTime
                    || seq[seqPos] is Time))
             {