This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 49ce10e8d5 Deprecate unused code
49ce10e8d5 is described below
commit 49ce10e8d55a0c118ef41d8534bcb5ada09cec68
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 c11bcdf13b..e3be1b6dee 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]