| Index: net/base/x509_openssl_util.cc
|
| diff --git a/net/base/x509_openssl_util.cc b/net/base/x509_openssl_util.cc
|
| index 0bb40023d29ee98de092911e990d63ecfe7e06df..e1d6f145eab6b61cbb2c48b98b438dee94387892 100644
|
| --- a/net/base/x509_openssl_util.cc
|
| +++ b/net/base/x509_openssl_util.cc
|
| @@ -154,8 +154,8 @@ bool VerifyHostname(const std::string& hostname,
|
| // it's needed by the test server. TODO(joth): Replace this with full IP
|
| // address support. See http://crbug.com/62973
|
| if (hostname == "127.0.0.1" &&
|
| - std::find(cert_names.begin(), cert_names.end(), hostname)
|
| - != cert_names.end()) {
|
| + std::find(cert_names.begin(), cert_names.end(), hostname) !=
|
| + cert_names.end()) {
|
| DVLOG(1) << "Allowing localhost IP certificate: " << hostname;
|
| return true;
|
| }
|
|
|