This is an automated email from the ASF dual-hosted git repository. elecharny pushed a commit to branch 2.0.X in repository https://gitbox.apache.org/repos/asf/mina.git
The following commit(s) were added to refs/heads/2.0.X by this push: new 00a6575 Backported the fix for DIRMINA-1125 00a6575 is described below commit 00a65752b60a4dfabed4fcd3720b2ad5d2147ced Author: emmanuel lecharny <elecha...@apache.org> AuthorDate: Tue Feb 8 00:05:33 2022 +0100 Backported the fix for DIRMINA-1125 --- .../src/main/java/org/apache/mina/filter/ssl/SslContextFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mina-core/src/main/java/org/apache/mina/filter/ssl/SslContextFactory.java b/mina-core/src/main/java/org/apache/mina/filter/ssl/SslContextFactory.java index 04e3d4c..e05d3d6 100644 --- a/mina-core/src/main/java/org/apache/mina/filter/ssl/SslContextFactory.java +++ b/mina-core/src/main/java/org/apache/mina/filter/ssl/SslContextFactory.java @@ -36,7 +36,7 @@ import javax.net.ssl.TrustManagerFactory; * If no properties are set the returned {@link SSLContext} will * be equivalent to what the following creates: * <pre> - * SSLContext c = SSLContext.getInstance( "TLS" ); + * SSLContext c = SSLContext.getInstance( "TLSv1.2" ); * c.init(null, null, null); * </pre> * <p> @@ -52,7 +52,7 @@ public class SslContextFactory { private String provider = null; - private String protocol = "TLS"; + private String protocol = "TLSv1.2"; private SecureRandom secureRandom = null;