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 cca86b069186187da1a17d331a6a48f42a552b98..d3abda8e4c21d532eb5e7b1c54086b9742eeb00c 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); |
} |
+bool 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_; |