Index: net/cert/internal/parse_ocsp.h |
diff --git a/net/cert/internal/parse_ocsp.h b/net/cert/internal/parse_ocsp.h |
index 07c155d0949ebd52e9a6431ced88e59aa067f2aa..b9052aee9f6df9c4e4797a928b5c7024a917ba4e 100644 |
--- a/net/cert/internal/parse_ocsp.h |
+++ b/net/cert/internal/parse_ocsp.h |
@@ -264,18 +264,19 @@ NET_EXPORT_PRIVATE bool ParseOCSPResponseData(const der::Input& raw_tlv, |
NET_EXPORT_PRIVATE bool ParseOCSPResponse(const der::Input& raw_tlv, |
OCSPResponse* out); |
-// Checks the certificate status of |cert| based on the OCSPResponseData |
-// |response_data| and issuer |issuer| and sets the results in |out|. In the |
-// case that there are multiple responses for a given certificate, as a result |
-// of caching or performance (RFC 6960, 4.2.2.3), the strictest response is |
-// returned (REVOKED > UNKNOWN > GOOD). |
+// Checks the certificate status of |cert_tbs_certificate_tlv| based on the |
+// OCSPResponseData |response_data| and issuer |issuer_tbs_certificate_tlv| and |
+// sets the results in |out|. In the case that there are multiple responses for |
+// a given certificate, as a result of caching or performance (RFC 6960, |
+// 4.2.2.3), the strictest response is returned (REVOKED > UNKNOWN > GOOD). |
// |
// On failure |out| has an undefined state. Some of its fields may have been |
// updated during parsing, whereas others may not have been changed. |
-NET_EXPORT_PRIVATE bool GetOCSPCertStatus(const OCSPResponseData& response_data, |
- const ParsedCertificate& issuer, |
- const ParsedCertificate& cert, |
- OCSPCertStatus* out); |
+NET_EXPORT_PRIVATE bool GetOCSPCertStatus( |
+ const OCSPResponseData& response_data, |
+ const der::Input& issuer_tbs_certificate_tlv, |
+ const der::Input& cert_tbs_certificate_tlv, |
+ OCSPCertStatus* out); |
} // namespace net |