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

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: resolved comments: documentation, style changes 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..3336161df6a9a74f728db533bdc3d2a016b7848b 100644
--- a/net/test/spawned_test_server/base_test_server.h
+++ b/net/test/spawned_test_server/base_test_server.h
@@ -65,6 +65,12 @@ 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".
+ CERT_EXAMPLE_DOMAIN,
+
+ // This server has a valid certificate for "www.example.com".
+ CERT_WWW_EXAMPLE_DOMAIN,
};
// OCSPStatus enumerates the types of OCSP response that the testserver

Powered by Google App Engine
This is Rietveld 408576698