This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new d3af6998fc Switch expected and actual.
d3af6998fc is described below

commit d3af6998fc1692d0abc1bcaf791479433543d1b4
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]

Reply via email to