net::X509Certificate::Equals -> net::X509Certificate::EqualsExcludingChain
This commit is contained in:
parent
de581ca0b4
commit
280421393e
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ void OnClientCertificateSelected(
|
||||||
if (!certs.empty()) {
|
if (!certs.empty()) {
|
||||||
scoped_refptr<net::X509Certificate> cert(certs[0].get());
|
scoped_refptr<net::X509Certificate> cert(certs[0].get());
|
||||||
for (size_t i = 0; i < identities->size(); ++i) {
|
for (size_t i = 0; i < identities->size(); ++i) {
|
||||||
if (cert->Equals((*identities)[i]->certificate())) {
|
if (cert->EqualsExcludingChain((*identities)[i]->certificate())) {
|
||||||
net::ClientCertIdentity::SelfOwningAcquirePrivateKey(
|
net::ClientCertIdentity::SelfOwningAcquirePrivateKey(
|
||||||
std::move((*identities)[i]),
|
std::move((*identities)[i]),
|
||||||
base::Bind(&GotPrivateKey, delegate, std::move(cert)));
|
base::Bind(&GotPrivateKey, delegate, std::move(cert)));
|
||||||
|
|
Loading…
Reference in a new issue