From 071bfc3f6a3eb2dc05746315e56bcb50cb9a8af6 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Mon, 21 Sep 2015 11:20:11 +0200 Subject: [PATCH] Not use RC4 for renegation as it is not supported in more recent java versions. Motivation: RC4 is not supported by default in more recent java versions as RC4 is considered insecure. We should not use it in tests as these test will fail on more recent java version. Modifications: Use SSL_RSA_WITH_3DES_EDE_CBC_SHA for test. Result: Non failing test on more recent java versions. --- .../transport/socket/SocketSslClientRenegotiateTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslClientRenegotiateTest.java b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslClientRenegotiateTest.java index ae25a2a767..f4a0ab8611 100644 --- a/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslClientRenegotiateTest.java +++ b/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslClientRenegotiateTest.java @@ -158,7 +158,7 @@ public class SocketSslClientRenegotiateTest extends AbstractSocketTest { Future clientHandshakeFuture = clientSslHandler.handshakeFuture(); clientHandshakeFuture.sync(); - String renegotiation = "SSL_RSA_WITH_RC4_128_SHA"; + String renegotiation = "SSL_RSA_WITH_3DES_EDE_CBC_SHA"; clientSslHandler.engine().setEnabledCipherSuites(new String[] { renegotiation }); clientSslHandler.renegotiate().await(); serverChannel.close().awaitUninterruptibly();