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-native.git


The following commit(s) were added to refs/heads/main by this push:
     new a1442c4d9 Remove unused code
a1442c4d9 is described below

commit a1442c4d9574eb473e83ea8f179720b495e06306
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Aug 27 10:00:46 2026 +0100

    Remove unused code
---
 native/include/ssl_private.h | 1 -
 native/src/sslcontext.c      | 1 -
 2 files changed, 2 deletions(-)

diff --git a/native/include/ssl_private.h b/native/include/ssl_private.h
index 7c6fd043b..7b46b04bc 100644
--- a/native/include/ssl_private.h
+++ b/native/include/ssl_private.h
@@ -261,7 +261,6 @@ struct tcn_ssl_ctxt_t {
     BIO             *bio_os;
     BIO             *bio_is;
 
-    int             protocol;
     /* we are one or the other */
     int             mode;
 
diff --git a/native/src/sslcontext.c b/native/src/sslcontext.c
index 3ed9629a0..a678583db 100644
--- a/native/src/sslcontext.c
+++ b/native/src/sslcontext.c
@@ -119,7 +119,6 @@ TCN_IMPLEMENT_CALL(jlong, SSLContext, make)(TCN_STDARGS, 
jlong pool,
 
     SSL_callback_add_keylog(ctx);
 
-    c->protocol = protocol;
     c->mode     = mode;
     c->ctx      = ctx;
     c->pool     = p;


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

Reply via email to