Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: chrome/browser/chromeos/policy/policy_cert_verifier.h

Issue 1081913003: Route OCSP stapling through CertVerifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@boringnss
Patch Set: yet another CrOS-only Verify call Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/policy/policy_cert_verifier.h
diff --git a/chrome/browser/chromeos/policy/policy_cert_verifier.h b/chrome/browser/chromeos/policy/policy_cert_verifier.h
index 11060cc1adcb846be9396b803484fd8f4cbc8e96..774b36b5627f5b418ad1741769c9d94c9198f4cb 100644
--- a/chrome/browser/chromeos/policy/policy_cert_verifier.h
+++ b/chrome/browser/chromeos/policy/policy_cert_verifier.h
@@ -49,6 +49,7 @@ class PolicyCertVerifier : public net::CertVerifier,
// Note: |callback| can be null.
int Verify(net::X509Certificate* cert,
const std::string& hostname,
+ const std::string& ocsp_response,
int flags,
net::CRLSet* crl_set,
net::CertVerifyResult* verify_result,
@@ -58,6 +59,8 @@ class PolicyCertVerifier : public net::CertVerifier,
void CancelRequest(RequestHandle req) override;
+ bool SupportsOCSPStapling() override;
+
// CertTrustAnchorProvider:
const net::CertificateList& GetAdditionalTrustAnchors() override;

Powered by Google App Engine
This is Rietveld 408576698