fixed test case
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@493118 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d35c93558c
commit
fe3d1bfb62
|
@ -144,7 +144,7 @@ public class TestSSLSocketFactory extends TestCase
|
||||||
int port = serverSocket.getLocalPort();
|
int port = serverSocket.getLocalPort();
|
||||||
// System.out.println("\nlistening on port: " + port);
|
// System.out.println("\nlistening on port: " + port);
|
||||||
|
|
||||||
SSLSocketFactory ssf = new SSLSocketFactory();
|
SSLSocketFactory ssf = SSLSocketFactory.getSocketFactory();
|
||||||
ssf.setHostnameVerifier(HostnameVerifier.ALLOW_ALL);
|
ssf.setHostnameVerifier(HostnameVerifier.ALLOW_ALL);
|
||||||
|
|
||||||
// Test 1 - createSocket()
|
// Test 1 - createSocket()
|
||||||
|
|
Loading…
Reference in New Issue