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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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_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 {