This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 171f3eba3ceb16468eaccd64e819d971b23174a9 Author: remm <[email protected]> AuthorDate: Fri Sep 12 13:56:10 2025 +0200 Hack around the certificate index for tomcat-native --- java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java b/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java index 877438bd29..8703b96067 100644 --- a/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java +++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java @@ -521,7 +521,7 @@ public class OpenSSLContext implements org.apache.tomcat.util.net.SSLContext { result = SSL.SSL_AIDX_RSA; } else if (certificate.getType() == Type.EC) { result = SSL.SSL_AIDX_ECC; - } else if (certificate.getType() == Type.DSA) { + } else if (certificate.getType() == Type.DSA || certificate.getType() == Type.MLDSA) { result = SSL.SSL_AIDX_DSA; } else { result = SSL.SSL_AIDX_MAX; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
