Skip to content

Commit

Permalink
Fix ssl negotiation test for IBM JDK
Browse files Browse the repository at this point in the history
IBM JDK uses SSL_ instead of TLS_ prefix.
  • Loading branch information
martinfurmanski committed Feb 27, 2018
1 parent 798be39 commit 48c7580
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public void shouldNegotiateCorrectly() throws Exception
{
assertNull( client.sslHandshakeFuture().cause() );
assertEquals( setup.expectedProtocol, client.protocol() );
assertEquals( setup.expectedCipher, client.ciphers() );
assertEquals( setup.expectedCipher.substring( 4 ), client.ciphers().substring( 4 ) ); // cut away SSL_ or TLS_
}
else
{
Expand Down

0 comments on commit 48c7580

Please sign in to comment.