mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
Disable cert net fetcher on Mac
This commit is contained in:
parent
bdc70837c1
commit
240fb5aadf
@ -533,7 +533,10 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
auto cert_context = net::BuildCertURLRequestContext(net_log);
|
||||
scoped_refptr<net::CertNetFetcherURLRequest> cert_net_fetcher;
|
||||
#if defined(OS_LINUX) || defined(OS_MAC) || defined(OS_ANDROID)
|
||||
// The builtin verifier is supported but not enabled by default on Mac,
|
||||
// falling back to CreateSystemVerifyProc() which drops the net fetcher.
|
||||
// Skips defined(OS_MAC) for now, until it is enabled by default.
|
||||
#if defined(OS_LINUX) || defined(OS_ANDROID)
|
||||
cert_net_fetcher = base::MakeRefCounted<net::CertNetFetcherURLRequest>();
|
||||
cert_net_fetcher->SetURLRequestContext(cert_context.get());
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user