Author: markt Date: Thu Oct 11 08:55:24 2018 New Revision: 1843536 URL: http://svn.apache.org/viewvc?rev=1843536&view=rev Log: Add missing check for TLS 1.3
Modified: tomcat/trunk/test/org/apache/tomcat/util/net/TestClientCertTls13.java Modified: tomcat/trunk/test/org/apache/tomcat/util/net/TestClientCertTls13.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/net/TestClientCertTls13.java?rev=1843536&r1=1843535&r2=1843536&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/tomcat/util/net/TestClientCertTls13.java (original) +++ tomcat/trunk/test/org/apache/tomcat/util/net/TestClientCertTls13.java Thu Oct 11 08:55:24 2018 @@ -33,7 +33,8 @@ import org.apache.tomcat.util.compat.TLS * repository since not all of them are AL2 licensed. * * The JSSE implementation of TLSv1.3 only supports authentication during the - * initial handshake. + * initial handshake. This test requires TLSv1.3 on client and server so it is + * skipped unless running on a Java version that supports TLSv1.3. */ public class TestClientCertTls13 extends TomcatBaseTest { @@ -47,6 +48,7 @@ public class TestClientCertTls13 extends @Test public void testClientCertPost() throws Exception { + Assume.assumeTrue(TLS.isTlsv13Available()); getTomcatInstance().start(); int size = 32 * 1024; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org