This is an automated email from the ASF dual-hosted git repository.
remm 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 c50319fd92 Cleanup
c50319fd92 is described below
commit c50319fd921a9014abefd884a550269c6ee39790
Author: remm <[email protected]>
AuthorDate: Thu Sep 4 16:47:48 2025 +0200
Cleanup
---
java/org/apache/tomcat/util/net/AbstractEndpoint.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index ffd26e9f1b..a063fdb1ab 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -398,13 +398,12 @@ public abstract class AbstractEndpoint<S, U> {
protected void createSSLContext(SSLHostConfig sslHostConfig) throws
IllegalArgumentException {
boolean useHybridSslContext = false;
- Set<SSLHostConfigCertificate> certificates =
sslHostConfig.getCertificates(true);
if (sslHostConfig.getProtocols().contains(Constants.SSL_PROTO_TLSv1_3)
&& OpenSSLStatus.isAvailable()) {
// If TLS 1.3 is enabled, check if a hybrid scheme using a single
SSL context
// should be attempted
boolean nonMldsaFound = false;
boolean mldsaFound = false;
- for (SSLHostConfigCertificate certificate : certificates) {
+ for (SSLHostConfigCertificate certificate :
sslHostConfig.getCertificates(true)) {
if
(certificate.getType().equals(SSLHostConfigCertificate.Type.MLDSA)) {
mldsaFound = true;
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]