Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Expanded expected exception type for SSL protocol mismatch failure

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk@1667194 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit e03371c528e2143f025451c538b9260ba47ce7f6 1 parent bd4aa15
@ok2c ok2c authored
View
2  httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
@@ -513,7 +513,7 @@ public Principal call() throws Exception {
}
- @Test(expected = SSLHandshakeException.class)
+ @Test(expected = IOException.class)
public void testSSLHanskshakeProtocolMismatch1() throws Exception {
final URL resource1 = getClass().getResource("/test-server.keystore");
final String storePassword = "nopassword";
Please sign in to comment.
Something went wrong with that request. Please try again.