This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 d3c07eec82 Deprecate unused code
d3c07eec82 is described below
commit d3c07eec828b7ec84b54e4e30710e6930476793f
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Aug 27 10:54:54 2026 +0100
Deprecate unused code
---
java/org/apache/tomcat/jni/SSL.java | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/java/org/apache/tomcat/jni/SSL.java
b/java/org/apache/tomcat/jni/SSL.java
index c12f39ae73..03e67da0d2 100644
--- a/java/org/apache/tomcat/jni/SSL.java
+++ b/java/org/apache/tomcat/jni/SSL.java
@@ -116,35 +116,59 @@ public final class SSL {
*/
/**
* No SSL options.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_OPT_NONE = 0;
/**
* SSL option for relative settings.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_OPT_RELSET = (1 << 0);
/**
* SSL option for standard environment variables.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_OPT_STDENVVARS = (1 << 1);
/**
* SSL option for exporting certificate data.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_OPT_EXPORTCERTDATA = (1 << 3);
/**
* SSL option for fake basic authentication.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_OPT_FAKEBASICAUTH = (1 << 4);
/**
* SSL option for strict require.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_OPT_STRICTREQUIRE = (1 << 5);
/**
* SSL option for optional renegotiation.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_OPT_OPTRENEGOTIATE = (1 << 6);
/**
* All SSL options combined.
+ *
+ * @deprecated Unused. Will be removed in Tomcat 12 onwards.
*/
+ @Deprecated
public static final int SSL_OPT_ALL = (SSL_OPT_STDENVVARS |
SSL_OPT_EXPORTCERTDATA | SSL_OPT_FAKEBASICAUTH |
SSL_OPT_STRICTREQUIRE | SSL_OPT_OPTRENEGOTIATE);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]