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 59ef6a037 Add missing UNREFERENCED() handling
59ef6a037 is described below
commit 59ef6a03743d38698c82eef38138c8acd7d4241d
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Aug 27 14:57:01 2026 +0100
Add missing UNREFERENCED() handling
---
native/src/ssl.c | 3 +++
native/src/sslcontext.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/native/src/ssl.c b/native/src/ssl.c
index 2e4c480d1..c1bf2813d 100644
--- a/native/src/ssl.c
+++ b/native/src/ssl.c
@@ -1865,6 +1865,7 @@ TCN_IMPLEMENT_CALL(jboolean, SSL, randLoad)(TCN_STDARGS,
jstring file)
TCN_IMPLEMENT_CALL(jboolean, SSL, randSave)(TCN_STDARGS, jstring file)
{
UNREFERENCED_STDARGS;
+ UNREFERENCED(file);
return JNI_FALSE;
}
@@ -2167,6 +2168,8 @@ TCN_IMPLEMENT_CALL(void, SSL, setVerify)(TCN_STDARGS,
jlong ssl,
{
UNREFERENCED(o);
UNREFERENCED(ssl);
+ UNREFERENCED(level);
+ UNREFERENCED(depth);
tcn_ThrowException(e, "Not implemented");
}
diff --git a/native/src/sslcontext.c b/native/src/sslcontext.c
index 37bdd72cf..d05eb553c 100644
--- a/native/src/sslcontext.c
+++ b/native/src/sslcontext.c
@@ -2161,6 +2161,7 @@ TCN_IMPLEMENT_CALL(void, SSLContext,
setNpnProtos)(TCN_STDARGS, jlong ctx, jobje
UNREFERENCED_STDARGS;
UNREFERENCED(ctx);
UNREFERENCED(next_protos);
+ UNREFERENCED(selectorFailureBehavior);
}
@@ -2170,6 +2171,7 @@ TCN_IMPLEMENT_CALL(void, SSLContext,
setAlpnProtos)(TCN_STDARGS, jlong ctx, jobj
UNREFERENCED_STDARGS;
UNREFERENCED(ctx);
UNREFERENCED(alpn_protos);
+ UNREFERENCED(selectorFailureBehavior);
}
TCN_IMPLEMENT_CALL(jlong, SSLContext, setSessionCacheMode)(TCN_STDARGS, jlong
ctx, jlong mode)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]