Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: net/base/x509_openssl_util.cc

Issue 5587001: Follow-up fixes for comments from wtc on patch http://codereview.chromium.org/5195001 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/x509_certificate_openssl.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « net/base/x509_certificate_openssl.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698