summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/test/test_server.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/test/test_server.cc b/net/test/test_server.cc
index 536d351..f4eb64f 100644
--- a/net/test/test_server.cc
+++ b/net/test/test_server.cc
@@ -47,11 +47,15 @@ int GetPortBase(net::TestServer::Type type) {
case net::TestServer::TYPE_HTTP:
return 1337;
case net::TestServer::TYPE_HTTPS:
+ return 9443;
case net::TestServer::TYPE_HTTPS_CLIENT_AUTH:
+ return 9543;
case net::TestServer::TYPE_HTTPS_EXPIRED_CERTIFICATE:
- return 9443;
- case net::TestServer::TYPE_HTTPS_MISMATCHED_HOSTNAME:
+ // TODO(phajdan.jr): Some tests rely on this hardcoded value.
+ // Some uses of this are actually in .html/.js files.
return 9666;
+ case net::TestServer::TYPE_HTTPS_MISMATCHED_HOSTNAME:
+ return 9643;
default:
NOTREACHED();
}