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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new cd9e2edffb Deprecate unused code
cd9e2edffb is described below

commit cd9e2edffb659f5ccdacf1d8dbecc3f3dc2771f1
Author: Mark Thomas <[email protected]>
AuthorDate: Thu May 14 15:12:51 2026 +0100

    Deprecate unused code
---
 java/org/apache/tomcat/jni/SSLContext.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/java/org/apache/tomcat/jni/SSLContext.java 
b/java/org/apache/tomcat/jni/SSLContext.java
index f558c098af..2b0aab2bf2 100644
--- a/java/org/apache/tomcat/jni/SSLContext.java
+++ b/java/org/apache/tomcat/jni/SSLContext.java
@@ -527,7 +527,10 @@ public final class SSLContext {
      *
      * @return The Java representation of the pointer to the OpenSSL 
SSLContext to use for the given host or zero if no
      *             SSLContext could be identified
+     *
+     * @deprecated Unused. Will be removed in Tomcat 12
      */
+    @Deprecated
     public static long sniCallBack(long currentCtx, String sniHostName) {
         SNICallBack sniCallBack = sniCallBacks.get(Long.valueOf(currentCtx));
         if (sniCallBack == null) {
@@ -582,7 +585,10 @@ public final class SSLContext {
     /**
      * Interface implemented by components that will receive the call back to 
select an OpenSSL SSLContext based on the
      * host name requested by the client.
+     *
+     * @deprecated Unused. Will be removed in Tomcat 12
      */
+    @Deprecated
     public interface SNICallBack {
 
         /**


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

Reply via email to