This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new cb52d5d Attempt to get JDK 8 smoke tests working on Github cb52d5d is described below commit cb52d5d62f45f2bb32ca316f97fe84bf2ef7b780 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Aug 12 19:52:35 2020 +0100 Attempt to get JDK 8 smoke tests working on Github Github uses Zulu which supports TLS 1.3 but does not enable it by default. --- test/org/apache/tomcat/util/net/TesterSupport.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/org/apache/tomcat/util/net/TesterSupport.java b/test/org/apache/tomcat/util/net/TesterSupport.java index d54f5d0..2be5728 100644 --- a/test/org/apache/tomcat/util/net/TesterSupport.java +++ b/test/org/apache/tomcat/util/net/TesterSupport.java @@ -200,7 +200,12 @@ public final class TesterSupport { public static ClientSSLSocketFactory configureClientSsl() { ClientSSLSocketFactory clientSSLSocketFactory = null; try { - SSLContext sc = SSLContext.getInstance(Constants.SSL_PROTO_TLS); + SSLContext sc; + if (TesterSupport.TLSV13_AVAILABLE) { + sc = SSLContext.getInstance("TLSv1.3"); + } else { + sc = SSLContext.getInstance(Constants.SSL_PROTO_TLS); + } sc.init(TesterSupport.getUser1KeyManagers(), TesterSupport.getTrustManagers(), null); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org