| Index: net/cert/x509_certificate.cc
|
| diff --git a/net/cert/x509_certificate.cc b/net/cert/x509_certificate.cc
|
| index 48cc5b5c8c509943151747cb8da85120c64ee2d8..4470affa61d0872fc50dccdaf3b74a4ae32d6699 100644
|
| --- a/net/cert/x509_certificate.cc
|
| +++ b/net/cert/x509_certificate.cc
|
| @@ -551,7 +551,7 @@ bool X509Certificate::VerifyHostname(
|
| // is not registry controlled, this ensures that all reference domains
|
| // contain at least three domain components when using wildcards.
|
| size_t registry_length =
|
| - registry_controlled_domains::GetRegistryLength(
|
| + registry_controlled_domains::GetRegistryLengthForCanonicalHost(
|
| reference_name,
|
| registry_controlled_domains::INCLUDE_UNKNOWN_REGISTRIES,
|
| registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES);
|
|
|