diff options
Diffstat (limited to 'modules/caddytls')
-rw-r--r-- | modules/caddytls/tls.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go index 88b7790..62ec98d 100644 --- a/modules/caddytls/tls.go +++ b/modules/caddytls/tls.go @@ -18,9 +18,7 @@ import ( "crypto/tls" "encoding/json" "fmt" - "log" "net/http" - "os" "time" "github.com/caddyserver/caddy/v2" @@ -31,12 +29,6 @@ import ( func init() { caddy.RegisterModule(TLS{}) - - // opt-in TLS 1.3 for Go1.12 - // TODO: remove this line when Go1.13 is released. - if err := os.Setenv("GODEBUG", os.Getenv("GODEBUG")+",tls13=1"); err != nil { - log.Println("[ERROR] failed to set environment variable: ", err) - } } // TLS represents a process-wide TLS configuration. |