diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2014-06-03 18:11:17 +1000 |
|---|---|---|
| committer | Andrew Gerrand <adg@golang.org> | 2014-06-03 18:11:17 +1000 |
| commit | 19fe9a2c722ee7612e86b46b7bf8e6b409295ecc (patch) | |
| tree | 1147e7b46cbd6e6c8b87cc065f8dd5fe26a01888 /src/pkg/crypto/tls | |
| parent | 14a75ecf4a673e99ff41c1a1166289840d4f3cbb (diff) | |
| download | go-19fe9a2c722ee7612e86b46b7bf8e6b409295ecc.tar.xz | |
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
Diffstat (limited to 'src/pkg/crypto/tls')
| -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} |
