| Index: net/cert/x509_certificate.cc
|
| diff --git a/net/cert/x509_certificate.cc b/net/cert/x509_certificate.cc
|
| index 48cc5b5c8c509943151747cb8da85120c64ee2d8..7f23e7bf1d4d12b5447b576e1135f4ca7c8134f1 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::GetCanonicalHostRegistryLength(
|
| reference_name,
|
| registry_controlled_domains::INCLUDE_UNKNOWN_REGISTRIES,
|
| registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES);
|
|
|