summaryrefslogtreecommitdiffstats
path: root/remoting
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 /remoting
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 'remoting')
-rw-r--r--remoting/protocol/ssl_hmac_channel_authenticator.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator.cc b/remoting/protocol/ssl_hmac_channel_authenticator.cc
index 23158d2..d8385c3 100644
--- a/remoting/protocol/ssl_hmac_channel_authenticator.cc
+++ b/remoting/protocol/ssl_hmac_channel_authenticator.cc
@@ -38,6 +38,7 @@ class FailingCertVerifier : 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,