- Fix unused variable warning when compiled without ssl.

This commit is contained in:
W.C.A. Wijngaards
2026-04-20 12:24:55 +02:00
parent 86a8be75f0
commit eb2fe8df8d
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -1,5 +1,6 @@
20 April 2026: Wouter
- Fix compile warnings for thread setname routine, and test compile.
- Fix unused variable warning when compiled without ssl.
17 April 2026: Wouter
- Fix setup of ssl context copy of the tls service pem option,
+2 -1
View File
@@ -1451,6 +1451,7 @@ void* listen_sslctx_create(const char* key, const char* pem,
(void)key; (void)pem; (void)verifypem;
(void)tls_ciphers; (void)tls_ciphersuites;
(void)set_ticket_keys_cb; (void)is_dot; (void)is_doh;
(void)tls_protocols;
return NULL;
#endif /* HAVE_SSL */
}
@@ -1864,7 +1865,7 @@ int listen_sslctx_setup_ticket_keys(struct config_strlist* tls_session_ticket_ke
keys->key_name = NULL;
return 1;
#else
(void)tls_session_ticket_keys;
(void)tls_session_ticket_keys; (void)chroot;
return 0;
#endif
}