Skip to content
Permalink
Browse files
  • Loading branch information
garydgregory committed Jul 26, 2021
2 parents bdfbd0c + e171dd6 commit bf3948e06f209de327820f888c21c1fae1d4403d
Showing 1 changed file with 0 additions and 12 deletions.
@@ -81,17 +81,6 @@ public class FTPSClientTest {

private static final boolean IMPLICIT = false;

private static String TlsProtocols;

@AfterClass
public static void afterClass() {
if (TlsProtocols == null) {
System.getProperties().remove(JDK_TLS_CLIENT_PROTOCOLS);
} else {
System.setProperty(JDK_TLS_CLIENT_PROTOCOLS, TlsProtocols);
}
}

/**
* Returns the test directory as a String.
*
@@ -145,7 +134,6 @@ private synchronized static void setUpClass(final boolean implicit) throws FtpEx
Assert.assertTrue(keyStoreFile.toString(), keyStoreFile.exists());
sllConfigFactory.setKeystoreFile(keyStoreFile);
sllConfigFactory.setKeystorePassword("password");
sllConfigFactory.setSslProtocol("TLSv1.2");

// set the SSL configuration for the listener
factory.setSslConfiguration(sllConfigFactory.createSslConfiguration());

0 comments on commit bf3948e

Please sign in to comment.