Browse Source

fix patches

Jeremy Rose 4 years ago
parent
commit
54e72fa8e3

+ 3 - 3
patches/chromium/network_service_allow_remote_certificate_verification_logic.patch

@@ -122,10 +122,10 @@ index 8e53d65ddca7b54a6effd1767257a4d8239251d8..8a00bf59c728217069000b1f1ece72e1
  #endif  // BUILDFLAG(IS_CHROMEOS_ASH)
 +    auto remote_cert_verifier = std::make_unique<RemoteCertVerifier>(std::move(cert_verifier));
 +    remote_cert_verifier_ = remote_cert_verifier.get();
-+    cert_verifier = std::move(remote_cert_verifier);
++    cert_verifier = std::make_unique<net::CachingCertVerifier>(std::move(remote_cert_verifier));
+   }
  
-     // Whether the cert verifier is remote or in-process, we should wrap it in
-     // caching and coalescing layers to avoid extra verifications and IPCs.
+   builder.SetCertVerifier(IgnoreErrorsCertVerifier::MaybeWrapCertVerifier(
 diff --git a/services/network/network_context.h b/services/network/network_context.h
 index 72885bc1d20a4da5ad4df3fb8185f05bcf6fbfba..06b1a0d550de946aa41efca2be4efde694cc24c7 100644
 --- a/services/network/network_context.h