Update test host used for TLS host verification.
Temporary fix, this is still brittle to certificate changes on the test host. Bug: 134532880 Test: atest android.net.cts.SSLCertificateSocketFactoryTest Change-Id: I6e8c8757963ef46009767925bfa512127d9daba7 Merged-In: I6e8c8757963ef46009767925bfa512127d9daba7 (cherry picked from commit 166e7121b173f2a4e3d6a9ded213e4c8679a9cfb)
This commit is contained in:
@@ -92,7 +92,7 @@ public class SSLCertificateSocketFactoryTest extends AndroidTestCase {
|
|||||||
|
|
||||||
// a host and port that are expected to be available but have
|
// a host and port that are expected to be available but have
|
||||||
// a cert with a different CN, in this case CN=mail.google.com
|
// a cert with a different CN, in this case CN=mail.google.com
|
||||||
private static String TEST_CREATE_SOCKET_HOST = "googlemail.com";
|
private static String TEST_CREATE_SOCKET_HOST = "www3.l.google.com";
|
||||||
private static int TEST_CREATE_SOCKET_PORT = 443;
|
private static int TEST_CREATE_SOCKET_PORT = 443;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user