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

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 9d570e84bd0e60103905218b9c4e6ec6dc8bfe75
Author: Aaron Ogburn <[email protected]>
AuthorDate: Tue Oct 28 11:10:13 2025 -0400

    remove OpenSSLContext.certificates now in OpenSSLCertificateVerifier
---
 java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java 
b/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java
index c5785cd443..65dd146396 100644
--- a/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java
+++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLContext.java
@@ -527,14 +527,6 @@ public class OpenSSLContext implements 
org.apache.tomcat.util.net.SSLContext {
         throw new 
IllegalStateException(sm.getString("openssl.trustManagerMissing"));
     }
 
-    private static X509Certificate[] certificates(byte[][] chain) {
-        X509Certificate[] peerCerts = new X509Certificate[chain.length];
-        for (int i = 0; i < peerCerts.length; i++) {
-            peerCerts[i] = new OpenSSLX509Certificate(chain[i]);
-        }
-        return peerCerts;
-    }
-
 
     long getSSLContextID() {
         return state.ctx;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to