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

Unified Diff: net/socket/ssl_client_socket_impl.h

Issue 2040513003: Implement Expect-Staple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't report private certificates Created 4 years, 6 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: net/socket/ssl_client_socket_impl.h
diff --git a/net/socket/ssl_client_socket_impl.h b/net/socket/ssl_client_socket_impl.h
index 97fa2929d50d880c857b46bcc5da5043686b64e6..cae331810c5e25498a6410a8a62754b39d6e2f8a 100644
--- a/net/socket/ssl_client_socket_impl.h
+++ b/net/socket/ssl_client_socket_impl.h
@@ -134,6 +134,9 @@ class SSLClientSocketImpl : public SSLClientSocket {
void DoConnectCallback(int result);
void UpdateServerCert();
void VerifyCT();
+ void CheckOCSP(const X509Certificate& verified_certificate,
+ const X509Certificate& unverified_certificate,
+ bool is_issued_by_known_root);
void OnHandshakeIOComplete(int result);
void OnSendComplete(int result);
@@ -373,6 +376,8 @@ class SSLClientSocketImpl : public SSLClientSocket {
// True if PKP is bypassed due to a local trust anchor.
bool pkp_bypassed_;
+ std::string ocsp_response_;
+
BoundNetLog net_log_;
base::WeakPtrFactory<SSLClientSocketImpl> weak_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698