Skip to content

Commit 4f8e09f

Browse files
committed
lint: remove depreciated tls config field
From the docs: PreferServerCipherSuites is a legacy field and has no effect. It used to control whether the server would follow the client's or the server's preference. Servers now select the best mutually supported cipher suite based on logic that takes into account inferred client hardware, server hardware, and security.
1 parent db30c83 commit 4f8e09f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

proxy/proxy_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ func configFromCert(crt *tls.Certificate, certPool *x509.CertPool) *tls.Config {
439439
tlsConf.CipherSuites = []uint16{
440440
tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
441441
}
442-
tlsConf.PreferServerCipherSuites = true
443442
tlsConf.RootCAs = certPool
444443
tlsConf.InsecureSkipVerify = true
445444

0 commit comments

Comments
 (0)