Author: markt
Date: Wed Mar 21 09:27:35 2018
New Revision: 1827396
URL: http://svn.apache.org/viewvc?rev=1827396&view=rev
Log:
MaxProtocol doesn't seem to impact TLSv1.3 ciphers suites. Use an alternative
way to disable them for this test.
Modified:
tomcat/trunk/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java
Modified:
tomcat/trunk/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java?rev=1827396&r1=1827395&r2=1827396&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java
(original)
+++ tomcat/trunk/test/org/apache/tomcat/util/net/openssl/TestOpenSSLConf.java
Wed Mar 21 09:27:35 2018
@@ -80,7 +80,7 @@ public class TestOpenSSLConf extends Tom
public void testOpenSSLConfCmdCipher() throws Exception {
// Ensure TLSv1.3 ciphers aren't returned
SSLHostConfig sslHostConfig = initOpenSSLConfCmdCipher("CipherString",
ENABLED_CIPHER,
- "MaxProtocol", "TLSv1.2");
+ "CipherSuites", "");
String[] ciphers = sslHostConfig.getEnabledCiphers();
Assert.assertThat("Wrong HostConfig ciphers", ciphers,
CoreMatchers.is(EXPECTED_CIPHERS));
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]