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 ee7639efd Remove unused code
ee7639efd is described below
commit ee7639efdb91d72c09504c2f2fcba63e73a69a38
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Aug 27 10:31:47 2026 +0100
Remove unused code
---
native/include/ssl_private.h | 1 -
native/src/ssl.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/native/include/ssl_private.h b/native/include/ssl_private.h
index 26a97c843..8ca4db41e 100644
--- a/native/include/ssl_private.h
+++ b/native/include/ssl_private.h
@@ -307,7 +307,6 @@ struct tcn_ssl_conf_ctxt_t {
typedef struct {
apr_pool_t *pool;
tcn_ssl_ctxt_t *ctx;
- SSL *ssl;
X509 *peer;
/* Track the handshake/renegotiation state for the connection so
* that all client-initiated renegotiations can be rejected, as a
diff --git a/native/src/ssl.c b/native/src/ssl.c
index 4a9b85d21..e3a939a34 100644
--- a/native/src/ssl.c
+++ b/native/src/ssl.c
@@ -569,7 +569,6 @@ TCN_IMPLEMENT_CALL(jlong /* SSL * */, SSL,
newSSL)(TCN_STDARGS,
}
con->pool = p;
con->ctx = c;
- con->ssl = ssl;
/* Store the handshakeCount in the SSL instance. */
*handshakeCount = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]