am 505ce805: Merge "Change SSLCertificateSocketFactoryTest to use googlemail.com" into jb-dev

* commit '505ce805c31d697dd12bb2c033eb69b3d7ec9696':
  Change SSLCertificateSocketFactoryTest to use googlemail.com
This commit is contained in:
Brian Carlstrom
2013-08-26 14:23:39 -07:00
committed by Android Git Automerger

View File

@@ -86,9 +86,9 @@ public class SSLCertificateSocketFactoryTest extends AndroidTestCase {
}
// a host and port that are expected to be available but have
// a cert with a different CN, in this case CN=mtalk.google.com
private static String TEST_CREATE_SOCKET_HOST = "mobile-gtalk.l.google.com";
private static int TEST_CREATE_SOCKET_PORT = 5228;
// a cert with a different CN, in this case CN=mail.google.com
private static String TEST_CREATE_SOCKET_HOST = "googlemail.com";
private static int TEST_CREATE_SOCKET_PORT = 443;
/**
* b/2807618 Make sure that hostname verifcation in cases were it