This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 079c0f3acd Sorts are not in-place sorts
079c0f3acd is described below
commit 079c0f3acd516345ffd4ddfe7a3d38880268562f
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Jun 12 17:02:44 2026 +0100
Sorts are not in-place sorts
---
.../util/net/openssl/ciphers/OpenSSLCipherConfigurationParser.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/java/org/apache/tomcat/util/net/openssl/ciphers/OpenSSLCipherConfigurationParser.java
b/java/org/apache/tomcat/util/net/openssl/ciphers/OpenSSLCipherConfigurationParser.java
index b6a860bd01..584ad7928b 100644
---
a/java/org/apache/tomcat/util/net/openssl/ciphers/OpenSSLCipherConfigurationParser.java
+++
b/java/org/apache/tomcat/util/net/openssl/ciphers/OpenSSLCipherConfigurationParser.java
@@ -511,7 +511,7 @@ public class OpenSSLCipherConfigurationParser {
complementOfDefault.addAll(aliases.get(CAMELLIA));
complementOfDefault.addAll(aliases.get(AESCCM));
complementOfDefault.addAll(aliases.get(ARIA));
- defaultSort(complementOfDefault);
+ complementOfDefault = defaultSort(complementOfDefault);
addListAlias(COMPLEMENTOFDEFAULT, complementOfDefault);
initialized = true;
@@ -736,7 +736,7 @@ public class OpenSSLCipherConfigurationParser {
moveToEnd(ciphers, alias);
}
} else if ("@STRENGTH".equals(element)) {
- strengthSort(ciphers);
+ ciphers = strengthSort(ciphers);
} else if (aliases.containsKey(element)) {
add(ciphers, element);
} else if (element.contains(AND)) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]