You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2021/07/26 11:11:40 UTC
[commons-net] branch master updated: Try upping TLS version to
avoid test fail
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git
The following commit(s) were added to refs/heads/master by this push:
new fd06a81 Try upping TLS version to avoid test fail
fd06a81 is described below
commit fd06a81fd4ea3ace33d397935c76a4e014088fa2
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jul 26 12:11:03 2021 +0100
Try upping TLS version to avoid test fail
---
src/test/java/org/apache/commons/net/ftp/FTPSClientTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/net/ftp/FTPSClientTest.java b/src/test/java/org/apache/commons/net/ftp/FTPSClientTest.java
index d64ca40..bf46a86 100644
--- a/src/test/java/org/apache/commons/net/ftp/FTPSClientTest.java
+++ b/src/test/java/org/apache/commons/net/ftp/FTPSClientTest.java
@@ -140,7 +140,7 @@ public class FTPSClientTest {
Assert.assertTrue(keyStoreFile.toString(), keyStoreFile.exists());
sllConfigFactory.setKeystoreFile(keyStoreFile);
sllConfigFactory.setKeystorePassword("password");
- sllConfigFactory.setSslProtocol("TLSv1.1");
+ sllConfigFactory.setSslProtocol("TLSv1.2");
// set the SSL configuration for the listener
factory.setSslConfiguration(sllConfigFactory.createSslConfiguration());