This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new b2deb9e252 Switch expected and actual.
b2deb9e252 is described below
commit b2deb9e25229e86639e47f83a97fdd61a5734722
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Jun 8 10:00:49 2026 +0100
Switch expected and actual.
The OpenSSL sourced list is the expected list. The parser sourced list
is the actual list.
---
.../net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git
a/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java
b/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java
index 65c6b41385..07f5ead798 100644
---
a/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java
+++
b/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java
@@ -510,6 +510,12 @@ public class TestOpenSSLCipherConfigurationParser {
// First check the lists have the same entries
// Order is NOT important at this point. It is checked below.
+ Assert.assertEquals(
+ "Expected " + jsseCipherListFromOpenSSL.size() + " ciphers but
got "
+ + jsseCipherListFromParser.size() + " for the
specification '"
+ + specification + "'",
+ new TreeSet<>(jsseCipherListFromOpenSSL), new
TreeSet<>(jsseCipherListFromParser));
+
Assert.assertEquals(
"Expected " + jsseCipherListFromParser.size() + " ciphers but
got "
+ jsseCipherListFromOpenSSL.size() + " for the
specification '"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]