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
commit d74354dc455114167eae58511fc23ffdf3bc6c49 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 - xdocs/miscellaneous/changelog.xml | 3 +++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/native/include/ssl_private.h b/native/include/ssl_private.h index debf2ad61..b332f2e36 100644 --- a/native/include/ssl_private.h +++ b/native/include/ssl_private.h @@ -270,7 +270,6 @@ struct tcn_ssl_ctxt_t { unsigned char context_id[SHA_DIGEST_LENGTH]; - int protocol; /* we are one or the other */ int mode; diff --git a/native/src/sslcontext.c b/native/src/sslcontext.c index 6a14afa03..019aa3ade 100644 --- a/native/src/sslcontext.c +++ b/native/src/sslcontext.c @@ -276,7 +276,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; diff --git a/xdocs/miscellaneous/changelog.xml b/xdocs/miscellaneous/changelog.xml index 2630de66c..ce466f635 100644 --- a/xdocs/miscellaneous/changelog.xml +++ b/xdocs/miscellaneous/changelog.xml @@ -52,6 +52,9 @@ Java long) rather than a 32-bit unsigned int (represented by a Java int). (markt) </fix> + <scode> + Remove unused code. (markt) + </scode> </changelog> </section> <section name="1.3.8" rtext="2026-06-15"> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
