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

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
Chris O'Haver
2022-01-21 18:04:36 -05:00
committed by GitHub
parent dc9e469e2b
commit 1c6b68f3cb

View File

@@ -33,7 +33,6 @@ func setTLSDefaults(tls *ctls.Config) {
ctls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
ctls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
}
tls.PreferServerCipherSuites = true
}
func parseTLS(c *caddy.Controller) error {