From 67c0128ebb937794454716a0ffac2e2b6ce229bd Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Mon, 24 Oct 2022 13:54:39 -0700 Subject: [PATCH] Fix an error when building with --disable-doh The netievent handler for isc_nmsocket_set_tlsctx() was inadvertently ifdef'd out when BIND was built with --disable-doh, resulting in an assertion failure on startup when DoT was configured. --- lib/isc/netmgr/netmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/netmgr/netmgr.c b/lib/isc/netmgr/netmgr.c index c4f1d9d3ad..5efd4be573 100644 --- a/lib/isc/netmgr/netmgr.c +++ b/lib/isc/netmgr/netmgr.c @@ -481,8 +481,8 @@ process_netievent(void *arg) { NETIEVENT_CASE(httpsend); NETIEVENT_CASE(httpclose); NETIEVENT_CASE(httpendpoints); - NETIEVENT_CASE(settlsctx); #endif + NETIEVENT_CASE(settlsctx); NETIEVENT_CASE(sockstop); NETIEVENT_CASE(connectcb);