diff options
Diffstat (limited to 'crypto/src/asn1/ocsp/OCSPResponse.cs')
-rw-r--r-- | crypto/src/asn1/ocsp/OCSPResponse.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/ocsp/OCSPResponse.cs b/crypto/src/asn1/ocsp/OCSPResponse.cs index c93a88f4f..ff2a0ea6d 100644 --- a/crypto/src/asn1/ocsp/OCSPResponse.cs +++ b/crypto/src/asn1/ocsp/OCSPResponse.cs @@ -37,7 +37,7 @@ namespace Org.BouncyCastle.Asn1.Ocsp int pos = 0; m_responseStatus = new OcspResponseStatus(DerEnumerated.GetInstance(seq[pos++])); - m_responseBytes = Asn1Utilities.ReadOptionalContextTagged(seq, ref pos, 0, true, ResponseBytes.GetInstance); + m_responseBytes = Asn1Utilities.ReadOptionalContextTagged(seq, ref pos, 0, true, ResponseBytes.GetTagged); if (pos != count) throw new ArgumentException("Unexpected elements in sequence", nameof(seq)); |