Changeset

12274:10447f940fec

util.startup: Enable DANE in http client library with use_dane
author Kim Alvefur <zash@zash.se>
date Sat, 05 Feb 2022 01:36:10 +0100
parents 12273:c0f49a4026f8
children 12275:13624194984b
files util/startup.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/startup.lua	Sat Feb 05 01:32:08 2022 +0100
+++ b/util/startup.lua	Sat Feb 05 01:36:10 2022 +0100
@@ -393,6 +393,7 @@
 	local https_client = config.get("*", "client_https_ssl")
 	http.default.options.sslctx = require "core.certmanager".create_context("client_https port 0", "client",
 		{ capath = config_ssl.capath, cafile = config_ssl.cafile, verify = "peer", }, https_client);
+	http.default.options.use_dane = config.get("*", "use_dane")
 end
 
 function startup.init_promise()