This is an automated email from the ASF dual-hosted git repository. dsoumis pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 62c7d75bc34f31279e1117fc33ccccf9389b07ae Author: Dimitris Soumis <[email protected]> AuthorDate: Thu Oct 29 14:22:14 2026 +0200 Fix typos --- java/org/apache/tomcat/util/net/AbstractEndpoint.java | 2 +- java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java b/java/org/apache/tomcat/util/net/AbstractEndpoint.java index dea7c8b9a5..6521c7c5b3 100644 --- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java +++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java @@ -552,7 +552,7 @@ public abstract class AbstractEndpoint<S, U> { getLogCertificate().info(sm.getString("endpoint.tls.info", getName(), sslHostConfig.getHostName(), certificate.getType(), certificateInfo, trustStoreSource)); - // When a configured alias was resolved to a different alias that is actually served (e.g. a SunMSCAPI + // When a configured alias was resolved to a different alias than is actually served (e.g. a SunMSCAPI // Windows-MY numbered duplicate), report it so the alias logged above is not mistaken for the one in use. String configuredAlias = certificate.getCertificateKeyAlias(); if (sslContext != null && configuredAlias != null) { diff --git a/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java b/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java index d39f706489..f0728cc52c 100644 --- a/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java +++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java @@ -652,7 +652,7 @@ public class OpenSSLContext implements org.apache.tomcat.util.net.SSLContext { List<Type> candidateTypes = new ArrayList<>(); if (Type.UNDEFINED.equals(type)) { - // Try all types to find an suitable alias + // Try all types to find a suitable alias candidateTypes.addAll(Arrays.asList(Type.values())); candidateTypes.remove(Type.UNDEFINED); } else { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
