Commit 1c6b68f3 authored by Chris O'Haver's avatar Chris O'Haver Committed by GitHub

tls.PreferServerCipherSuites is ignored as of go 1.17 (#5108)

Signed-off-by: default avatarChris O'Haver <cohaver@infoblox.com>
parent dc9e469e
...@@ -33,7 +33,6 @@ func setTLSDefaults(tls *ctls.Config) { ...@@ -33,7 +33,6 @@ func setTLSDefaults(tls *ctls.Config) {
ctls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, ctls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
ctls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, ctls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
} }
tls.PreferServerCipherSuites = true
} }
func parseTLS(c *caddy.Controller) error { func parseTLS(c *caddy.Controller) error {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment