crypto/tls: commit fixes which I hadn't saved.

R=rsc
CC=golang-dev
https://golang.org/cl/3685041
This commit is contained in:
Adam Langley 2010-12-15 13:58:57 -05:00
parent 976e45726c
commit 1a072f4b37
2 changed files with 7 additions and 5 deletions

View file

@ -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