]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix an error when building with --disable-doh
authorEvan Hunt <each@isc.org>
Mon, 24 Oct 2022 20:54:39 +0000 (13:54 -0700)
committerEvan Hunt <each@isc.org>
Mon, 24 Oct 2022 20:54:39 +0000 (13:54 -0700)
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

index c4f1d9d3ad3a7240c30d005cff4fee859af3c856..5efd4be5737ceb05872cbc6581a1afa7e8a1da77 100644 (file)
@@ -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);