mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix setup_listen_sslctx warning for nettle compile.
This commit is contained in:
parent
0c558cb805
commit
74bc8c9e77
2 changed files with 5 additions and 4 deletions
|
|
@ -463,11 +463,11 @@ detach(void)
|
||||||
#endif /* HAVE_DAEMON */
|
#endif /* HAVE_DAEMON */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_SSL
|
||||||
/* setup a listening ssl context, fatal_exit() on any failure */
|
/* setup a listening ssl context, fatal_exit() on any failure */
|
||||||
static void
|
static void
|
||||||
setup_listen_sslctx(void** ctx, int is_dot, int is_doh, struct config_file* cfg)
|
setup_listen_sslctx(void** ctx, int is_dot, int is_doh, struct config_file* cfg)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_SSL
|
|
||||||
if(!(*ctx = listen_sslctx_create(
|
if(!(*ctx = listen_sslctx_create(
|
||||||
cfg->ssl_service_key, cfg->ssl_service_pem, NULL,
|
cfg->ssl_service_key, cfg->ssl_service_pem, NULL,
|
||||||
cfg->tls_ciphers, cfg->tls_ciphersuites,
|
cfg->tls_ciphers, cfg->tls_ciphersuites,
|
||||||
|
|
@ -476,10 +476,8 @@ setup_listen_sslctx(void** ctx, int is_dot, int is_doh, struct config_file* cfg)
|
||||||
is_dot, is_doh))) {
|
is_dot, is_doh))) {
|
||||||
fatal_exit("could not set up listen SSL_CTX");
|
fatal_exit("could not set up listen SSL_CTX");
|
||||||
}
|
}
|
||||||
#else /* HAVE_SSL */
|
|
||||||
(void)ctx;(void)is_dot;(void)is_doh;(void)cfg;
|
|
||||||
#endif /* HAVE_SSL */
|
|
||||||
}
|
}
|
||||||
|
#endif /* HAVE_SSL */
|
||||||
|
|
||||||
/* setups the needed ssl contexts, fatal_exit() on any failure */
|
/* setups the needed ssl contexts, fatal_exit() on any failure */
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
28 August 2025: Wouter
|
||||||
|
- Fix setup_listen_sslctx warning for nettle compile.
|
||||||
|
|
||||||
27 August 2025: Wouter
|
27 August 2025: Wouter
|
||||||
- Fix unbound-control dump_cache for double unlock of lruhash table.
|
- Fix unbound-control dump_cache for double unlock of lruhash table.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue