mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
crypto/tls: commit fixes which I hadn't saved.
R=rsc CC=golang-dev https://golang.org/cl/3685041
This commit is contained in:
parent
976e45726c
commit
1a072f4b37
2 changed files with 7 additions and 5 deletions
|
|
@ -147,7 +147,7 @@ func (c *Config) rootCAs() *CASet {
|
|||
|
||||
func (c *Config) cipherSuites() []uint16 {
|
||||
s := c.CipherSuites
|
||||
if len(s) == 0 {
|
||||
if s == nil {
|
||||
s = defaultCipherSuites()
|
||||
}
|
||||
return s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue