From cb022ece82bde1304ec927eaa54fd88ea972b3e2 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 17 Feb 2019 23:56:02 +0100 Subject: [PATCH] Set GODEBUG to enable TLS 1.3 Fixes #731 --- dnscrypt-proxy/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dnscrypt-proxy/main.go b/dnscrypt-proxy/main.go index b9c522e0..7c203f47 100644 --- a/dnscrypt-proxy/main.go +++ b/dnscrypt-proxy/main.go @@ -24,6 +24,7 @@ type App struct { func main() { dlog.Init("dnscrypt-proxy", dlog.SeverityNotice, "DAEMON") + os.Setenv("GODEBUG", os.Getenv("GODEBUG")+",tls13=1") pwd, err := os.Getwd() if err != nil {