mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-17 21:25:50 +02:00
- Fix unused variable warning when compiled without ssl.
This commit is contained in:
@@ -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
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user