summary refs log tree commit diff
path: root/crypto/src/asn1/pkcs/CrlBag.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--crypto/src/asn1/pkcs/CrlBag.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/pkcs/CrlBag.cs b/crypto/src/asn1/pkcs/CrlBag.cs
index 5cc68ace4..0198c341c 100644
--- a/crypto/src/asn1/pkcs/CrlBag.cs
+++ b/crypto/src/asn1/pkcs/CrlBag.cs
@@ -23,7 +23,7 @@ namespace Org.BouncyCastle.Asn1.Pkcs
                 throw new ArgumentException("Wrong number of elements in sequence", nameof(seq));
 
             m_crlID = DerObjectIdentifier.GetInstance(seq[0]);
-            m_crlValue = Asn1TaggedObject.GetInstance(seq[1]).GetObject();
+            m_crlValue = Asn1TaggedObject.GetInstance(seq[1]).GetExplicitBaseObject();
         }
 
         public CrlBag(DerObjectIdentifier crlID, Asn1Encodable crlValue)