summary refs log tree commit diff
path: root/crypto/src/asn1/ocsp/BasicOCSPResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/ocsp/BasicOCSPResponse.cs')
-rw-r--r--crypto/src/asn1/ocsp/BasicOCSPResponse.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/ocsp/BasicOCSPResponse.cs b/crypto/src/asn1/ocsp/BasicOCSPResponse.cs
index fc491f78e..0b8b48e43 100644
--- a/crypto/src/asn1/ocsp/BasicOCSPResponse.cs
+++ b/crypto/src/asn1/ocsp/BasicOCSPResponse.cs
@@ -46,7 +46,7 @@ namespace Org.BouncyCastle.Asn1.Ocsp
             m_tbsResponseData = ResponseData.GetInstance(seq[pos++]);
             m_signatureAlgorithm = AlgorithmIdentifier.GetInstance(seq[pos++]);
             m_signature = DerBitString.GetInstance(seq[pos++]);
-            m_certs = Asn1Utilities.ReadOptionalContextTagged(seq, ref pos, 0, true, Asn1Sequence.GetInstance);
+            m_certs = Asn1Utilities.ReadOptionalContextTagged(seq, ref pos, 0, true, Asn1Sequence.GetTagged);
 
             if (pos != count)
                 throw new ArgumentException("Unexpected elements in sequence", nameof(seq));