Skip to content

Commit

Permalink
Use DefaultCTPolicyEnforcer instead of virtual CTPolicyEnforcer
Browse files Browse the repository at this point in the history
  • Loading branch information
hferreiro authored and darkdh committed Aug 3, 2018
1 parent 158265c commit 7d0cef8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vendor/brightray/browser/url_request_context_getter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {

storage_->set_cert_transparency_verifier(
std::make_unique<net::MultiLogCTVerifier>());
storage_->set_ct_policy_enforcer(std::make_unique<net::CTPolicyEnforcer>());
storage_->set_ct_policy_enforcer(
std::make_unique<net::DefaultCTPolicyEnforcer>());

net::HttpNetworkSession::Params network_session_params;
network_session_params.ignore_certificate_errors = false;
Expand Down

0 comments on commit 7d0cef8

Please sign in to comment.