summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/server.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2020-10-13 10:06:09 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2020-10-13 10:06:09 +0000
commit8dd8ae05ca3b7e1bb36cdbbb9f39d055bb65d0c4 (patch)
treeceb12ab472bd52ba9f4e090a94ec707e4e1994e7 /usr.sbin/nsd/server.c
parenteb26bf7266d625f593c5713fa50667f57a8f5b31 (diff)
merge NSD 4.3.3
Diffstat (limited to 'usr.sbin/nsd/server.c')
-rw-r--r--usr.sbin/nsd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/nsd/server.c b/usr.sbin/nsd/server.c
index 5849129052b..aaeaa6db574 100644
--- a/usr.sbin/nsd/server.c
+++ b/usr.sbin/nsd/server.c
@@ -1660,6 +1660,7 @@ server_send_soa_xfrd(struct nsd* nsd, int shortsoa)
udb_base_sync(nsd->db->udb, 1);
udb_base_close(nsd->db->udb);
server_shutdown(nsd);
+ /* ENOTREACH */
exit(0);
}
}
@@ -1857,6 +1858,7 @@ listen_sslctx_setup_2(void* ctxt)
(void)ctx;
#if HAVE_DECL_SSL_CTX_SET_ECDH_AUTO
if(!SSL_CTX_set_ecdh_auto(ctx,1)) {
+ /* ENOTREACH */
log_crypto_err("Error in SSL_CTX_ecdh_auto, not enabling ECDHE");
}
#elif defined(HAVE_DECL_SSL_CTX_SET_TMP_ECDH) && defined(NID_X9_62_prime256v1) && defined(HAVE_EC_KEY_NEW_BY_CURVE_NAME)