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

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

commit 2aec4ae1826a7052f41ff6fc61973f5180579aaf
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 024f2a3b8c..d61ba03d36 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -535,7 +535,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 f9cc25394e..3178b8cc5c 100644
--- a/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java
+++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java
@@ -640,7 +640,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