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

Unified Diff: blimp/net/ssl_client_transport.cc

Issue 2103143003: Add certificate transparency enforcement to SSL client code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « blimp/net/ssl_client_transport.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/ssl_client_transport.cc
diff --git a/blimp/net/ssl_client_transport.cc b/blimp/net/ssl_client_transport.cc
index 19f3b3c0b95ead7617616007a939129bbc78c086..0cc7a638cfe3c906904fbfa523a3a4000c403ab8 100644
--- a/blimp/net/ssl_client_transport.cc
+++ b/blimp/net/ssl_client_transport.cc
@@ -61,6 +61,8 @@ void SSLClientTransport::OnTCPConnectComplete(int result) {
net::SSLClientSocketContext create_context;
create_context.cert_verifier = cert_verifier_.get();
create_context.transport_security_state = &transport_security_state_;
+ create_context.ct_policy_enforcer = &ct_policy_enforcer_;
+ create_context.cert_transparency_verifier = &cert_transparency_verifier_;
std::unique_ptr<net::StreamSocket> ssl_socket(
socket_factory()->CreateSSLClientSocket(std::move(socket_handle),
« no previous file with comments | « blimp/net/ssl_client_transport.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698