Add verifiers for known logs
This commit is contained in:
parent
d435df77f8
commit
39a69467ed
1 changed files with 5 additions and 1 deletions
|
@ -22,6 +22,8 @@
|
|||
#include "content/public/common/content_switches.h"
|
||||
#include "net/base/host_mapping_rules.h"
|
||||
#include "net/cert/cert_verifier.h"
|
||||
#include "net/cert/ct_known_logs.h"
|
||||
#include "net/cert/ct_log_verifier.h"
|
||||
#include "net/cert/ct_policy_enforcer.h"
|
||||
#include "net/cert/multi_log_ct_verifier.h"
|
||||
#include "net/cookies/cookie_monster.h"
|
||||
|
@ -276,7 +278,9 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {
|
|||
new net::HttpServerPropertiesImpl);
|
||||
storage_->set_http_server_properties(std::move(server_properties));
|
||||
|
||||
cert_transparency_verifier_.reset(new net::MultiLogCTVerifier());
|
||||
auto multi_log_ct_verifier = new net::MultiLogCTVerifier();
|
||||
multi_log_ct_verifier->AddLogs(net::ct::CreateLogVerifiersForKnownLogs());
|
||||
cert_transparency_verifier_.reset(multi_log_ct_verifier);
|
||||
ct_policy_enforcer_.reset(new net::CTPolicyEnforcer());
|
||||
|
||||
net::HttpNetworkSession::Params network_session_params;
|
||||
|
|
Loading…
Reference in a new issue