From 280421393e691f3c6e5d701989453e5f93549c1b Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Fri, 14 Sep 2018 17:10:19 -0700 Subject: [PATCH] net::X509Certificate::Equals -> net::X509Certificate::EqualsExcludingChain --- atom/browser/api/atom_api_app.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/api/atom_api_app.cc b/atom/browser/api/atom_api_app.cc index 289ac21905ca..82c9ed269dfe 100644 --- a/atom/browser/api/atom_api_app.cc +++ b/atom/browser/api/atom_api_app.cc @@ -482,7 +482,7 @@ void OnClientCertificateSelected( if (!certs.empty()) { scoped_refptr cert(certs[0].get()); for (size_t i = 0; i < identities->size(); ++i) { - if (cert->Equals((*identities)[i]->certificate())) { + if (cert->EqualsExcludingChain((*identities)[i]->certificate())) { net::ClientCertIdentity::SelfOwningAcquirePrivateKey( std::move((*identities)[i]), base::Bind(&GotPrivateKey, delegate, std::move(cert)));