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

Unified Diff: net/test/spawned_test_server/base_test_server.h

Issue 1223233002: Common Name Mismatch Handler For WWW Subdomain Mismatch case (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor Changes: Removing test code Created 5 years, 5 months 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
Index: net/test/spawned_test_server/base_test_server.h
diff --git a/net/test/spawned_test_server/base_test_server.h b/net/test/spawned_test_server/base_test_server.h
index b72e5d3e05a5ab4aa427e85ea345f93fea3db5b6..ffae50e2a6270a3eb6694a5aaab8bb253ac13e28 100644
--- a/net/test/spawned_test_server/base_test_server.h
+++ b/net/test/spawned_test_server/base_test_server.h
@@ -65,6 +65,14 @@ class BaseTestServer {
// Causes the testserver to use a hostname that is a domain
// instead of an IP.
CERT_COMMON_NAME_IS_DOMAIN,
+
+ // This server has a valid certificate for example.com and has
+ // 127.0.0.1 as its host name.
palmer 2015/07/27 23:56:18 Do you mean "...127.0.0.1 as its IP address"? The
Bhanu Dev 2015/07/30 02:39:10 The server's actual hostname is "127.0.0.1". A |Mo
+ CERT_EXAMPLE_DOMAIN,
+
+ // This server has a valid certificate for www.example.com and
+ // has 127.0.0.1 as its host name.
palmer 2015/07/27 23:56:18 As above.
Bhanu Dev 2015/07/30 02:39:11 Done.
+ CERT_WWW_EXAMPLE_DOMAIN,
};
// OCSPStatus enumerates the types of OCSP response that the testserver

Powered by Google App Engine
This is Rietveld 408576698