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

dsoumis pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit da5c7a88c4a4e69d5c95a006890480ff8575a83a
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 0c8e93fa16..8d9890c2cd 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -648,7 +648,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 619fc78b4c..94f17ec0ae 100644
--- a/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java
+++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java
@@ -631,7 +631,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]

Reply via email to