summaryrefslogtreecommitdiffstats
path: root/google_apis
diff options
context:
space:
mode:
authordavidben <davidben@chromium.org>2015-04-27 11:08:36 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-27 18:08:35 +0000
commit15f5713c41825ea900cd6dc4f6de4a6d3fff538d (patch)
treefb3ed80bbd349e8e1f1c22b48c2483bc2bca5934 /google_apis
parent25f1faa117156fcf67dc910d551e8225c50bfe75 (diff)
downloadchromium_src-15f5713c41825ea900cd6dc4f6de4a6d3fff538d.zip
chromium_src-15f5713c41825ea900cd6dc4f6de4a6d3fff538d.tar.gz
chromium_src-15f5713c41825ea900cd6dc4f6de4a6d3fff538d.tar.bz2
Route OCSP stapling through CertVerifier.
This moves the platform-specific OCSP stapling code out of SSLClientSocket, which enables OCSP stapling on the chimera build. It'll also make it easier to support OCSP stapling on OS X, where a stapled OCSP response is a property of the certificate verification (as it should be) and not the certificate. BUG=430714,479034 Review URL: https://codereview.chromium.org/1081913003 Cr-Commit-Position: refs/heads/master@{#327070}
Diffstat (limited to 'google_apis')
-rw-r--r--google_apis/gcm/tools/mcs_probe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/google_apis/gcm/tools/mcs_probe.cc b/google_apis/gcm/tools/mcs_probe.cc
index 0f464c5..bbff7ff 100644
--- a/google_apis/gcm/tools/mcs_probe.cc
+++ b/google_apis/gcm/tools/mcs_probe.cc
@@ -171,6 +171,7 @@ class MyTestCertVerifier : public net::CertVerifier {
int Verify(net::X509Certificate* cert,
const std::string& hostname,
+ const std::string& ocsp_response,
int flags,
net::CRLSet* crl_set,
net::CertVerifyResult* verify_result,