You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2020/08/19 08:43:37 UTC

[cxf] 01/02: Switching SSLContext test to TLSv1.1

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit f330a85c8dd3ba07913badeb72f27dd41971973d
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Wed Aug 19 08:11:18 2020 +0100

    Switching SSLContext test to TLSv1.1
---
 .../org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/systests/transports/src/test/java/org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java b/systests/transports/src/test/java/org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java
index 3fee468..48f836d 100644
--- a/systests/transports/src/test/java/org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java
+++ b/systests/transports/src/test/java/org/apache/cxf/systest/https/ciphersuites/CipherSuitesTest.java
@@ -535,7 +535,7 @@ public class CipherSuitesTest extends AbstractBusClientServerTestBase {
         TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
         tmf.init(ts);
 
-        SSLContext sslContext = SSLContext.getInstance("TLSv1");
+        SSLContext sslContext = SSLContext.getInstance("TLSv1.1");
         sslContext.init(null, tmf.getTrustManagers(), new java.security.SecureRandom());
 
         TLSClientParameters tlsParams = new TLSClientParameters();