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 abc676c741d986e21b4700ad899ed3666ac89272
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Sep 1 16:10:35 2026 +0100

    Fix warning
---
 native/src/sslnetwork.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/native/src/sslnetwork.c b/native/src/sslnetwork.c
index 0619763e8..23b344363 100644
--- a/native/src/sslnetwork.c
+++ b/native/src/sslnetwork.c
@@ -753,7 +753,7 @@ TCN_IMPLEMENT_CALL(void, SSLSocket, setVerify)(TCN_STDARGS,
     int verify = SSL_VERIFY_NONE;
     UNREFERENCED_STDARGS;
 
-    if (sock == NULL) {
+    if (s == NULL) {
         tcn_ThrowException(e, "SSLSocket is null");
         return;
     }


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

Reply via email to