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

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


The following commit(s) were added to refs/heads/1.3.x by this push:
     new 4fcf84dc2 Remove unused macros
4fcf84dc2 is described below

commit 4fcf84dc252c70c17a6c6242569ce72ec4690478
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Aug 27 14:41:46 2026 +0100

    Remove unused macros
---
 native/include/ssl_private.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/native/include/ssl_private.h b/native/include/ssl_private.h
index f02142134..62bc979de 100644
--- a/native/include/ssl_private.h
+++ b/native/include/ssl_private.h
@@ -91,7 +91,6 @@ extern ENGINE *tcn_ssl_engine;
 #define SSL_BIO_FLAG_CALLBACK   (1<<1)
 #define SSL_DEFAULT_CACHE_SIZE  (256)
 #define SSL_DEFAULT_VHOST_NAME  ("_default_:443")
-#define SSL_MAX_STR_LEN         (2048)
 #define SSL_MAX_PASSWORD_LEN    (256)
 
 #define SSL_CVERIFY_UNSET           (-1)
@@ -170,14 +169,6 @@ extern ENGINE *tcn_ssl_engine;
 
 #define SSL_CIPHERS_ALWAYS_DISABLED         ("!aNULL:!eNULL:!EXP:")
 
-#if defined(SSL_OP_NO_TLSv1_1)
-#define HAVE_TLSV1_1
-#endif
-
-#if defined(SSL_OP_NO_TLSv1_2)
-#define HAVE_TLSV1_2
-#endif
-
 #if defined(SSL_OP_NO_TLSv1_3)
 #define HAVE_TLSV1_3
 #endif
@@ -193,8 +184,6 @@ extern ENGINE *tcn_ssl_engine;
  */
 #if !defined(OPENSSL_NO_TLSEXT) && defined(SSL_set_tlsext_host_name)
 
-#define HAVE_TLSEXT
-
 /* ECC */
 #if !defined(OPENSSL_NO_EC) && defined(TLSEXT_ECPOINTFORMAT_uncompressed)
 #define HAVE_ECC


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

Reply via email to