| Index: chrome/browser/chromeos/policy/policy_cert_verifier.cc
|
| diff --git a/chrome/browser/chromeos/policy/policy_cert_verifier.cc b/chrome/browser/chromeos/policy/policy_cert_verifier.cc
|
| index 524ca94774aafd68f88591196600a375133a53ac..7eb883ce2247beade2ed9778239ec692ba749988 100644
|
| --- a/chrome/browser/chromeos/policy/policy_cert_verifier.cc
|
| +++ b/chrome/browser/chromeos/policy/policy_cert_verifier.cc
|
| @@ -71,6 +71,7 @@ void PolicyCertVerifier::SetTrustAnchors(
|
| int PolicyCertVerifier::Verify(
|
| net::X509Certificate* cert,
|
| const std::string& hostname,
|
| + const std::string& ocsp_response,
|
| int flags,
|
| net::CRLSet* crl_set,
|
| net::CertVerifyResult* verify_result,
|
| @@ -84,8 +85,9 @@ int PolicyCertVerifier::Verify(
|
| anchor_used_callback_,
|
| completion_callback,
|
| verify_result);
|
| - int error = delegate_->Verify(cert, hostname, flags, crl_set, verify_result,
|
| - wrapped_callback, out_req, net_log);
|
| + int error =
|
| + delegate_->Verify(cert, hostname, ocsp_response, flags, crl_set,
|
| + verify_result, wrapped_callback, out_req, net_log);
|
| MaybeSignalAnchorUse(error, anchor_used_callback_, *verify_result);
|
| return error;
|
| }
|
| @@ -95,6 +97,11 @@ void PolicyCertVerifier::CancelRequest(RequestHandle req) {
|
| delegate_->CancelRequest(req);
|
| }
|
|
|
| +void PolicyCertVerifier::SupportsOCSPStapling() {
|
| + DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
|
| + return delegate_->SupportsOCSPStapling();
|
| +}
|
| +
|
| const net::CertificateList& PolicyCertVerifier::GetAdditionalTrustAnchors() {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
|
| return trust_anchors_;
|
|
|