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 c2b6308750 Hack around the certificate index for tomcat-native
c2b6308750 is described below
commit c2b6308750d7b74f9f0fe67fa80628b6f8dffcee
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 116d8a7f99..599b9a5c64 100644
--- a/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java
+++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java
@@ -494,7 +494,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]