diff options
author | Russ Cox <rsc@golang.org> | 2014-06-03 14:44:25 -0400 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2014-06-03 14:44:25 -0400 |
commit | 764cb069db2757a1604c5865b75f4496a4f22a73 (patch) | |
tree | 32822ff02a3054c8330f43d456097ab10fcb51dc | |
parent | 9381fe2d1dcef449374b04fee04738a0e84ffb24 (diff) | |
download | go-764cb069db2757a1604c5865b75f4496a4f22a73.tar.gz go-764cb069db2757a1604c5865b75f4496a4f22a73.zip |
[release-branch.go1.3] crypto/tls: fix typo referencing the required Config field
««« CL 107740043 / d86ec79a5f30
crypto/tls: fix typo referencing the required Config field
Thanks to Frithjof Schulze for noticing.
LGTM=adg
R=adg
CC=agl, golang-codereviews, r
https://golang.org/cl/107740043
»»»
LGTM=r
R=golang-codereviews, r
CC=bradfitz, golang-codereviews, iant
https://golang.org/cl/103020043
-rw-r--r-- | src/pkg/crypto/tls/tls.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/tls/tls.go b/src/pkg/crypto/tls/tls.go index 0b856c4e16..d50e120292 100644 --- a/src/pkg/crypto/tls/tls.go +++ b/src/pkg/crypto/tls/tls.go @@ -28,7 +28,7 @@ func Server(conn net.Conn, config *Config) *Conn { // Client returns a new TLS client side connection // using conn as the underlying transport. -// The config cannot be nil: users must set either ServerHostname or +// The config cannot be nil: users must set either ServerName or // InsecureSkipVerify in the config. func Client(conn net.Conn, config *Config) *Conn { return &Conn{conn: conn, config: config, isClient: true} |