aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorguoguangwu <guoguangwu@magic-shield.com>2024-02-22 01:32:06 +0000
committerGopher Robot <gobot@golang.org>2024-02-26 21:34:41 +0000
commit74642ddf2ed01cbfd9c2140663ac93d6d88516cb (patch)
treef5d2da8d88337cc4e2b6e36e4fc4fc51c4601d24 /src
parent70a2e84e91f9f38754014d6006f8211d33662c3e (diff)
downloadgo-74642ddf2ed01cbfd9c2140663ac93d6d88516cb.tar.xz
crypto/tls: fix typo in comment
Change-Id: I77371ef99797e2b53f1292c9d6a4eb157f116f88 GitHub-Last-Rev: 7ce7d014c0c46b320f9e4b742ae9360d1b5cf4dc GitHub-Pull-Request: golang/go#65836 Reviewed-on: https://go-review.googlesource.com/c/go/+/565440 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: qiulaidongfeng <2645477756@qq.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src')
-rw-r--r--src/crypto/tls/tls_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/tls/tls_test.go b/src/crypto/tls/tls_test.go
index 42a0272f00..096b4ed227 100644
--- a/src/crypto/tls/tls_test.go
+++ b/src/crypto/tls/tls_test.go
@@ -211,7 +211,7 @@ func TestDialTimeout(t *testing.T) {
t.Logf("Listener accepted a connection from %s", lconn.RemoteAddr())
lconn.Close()
}
- // Close any spurious extra connecitions from the listener. (This is
+ // Close any spurious extra connections from the listener. (This is
// possible if there are, for example, stray Dial calls from other tests.)
for extraConn := range acceptc {
t.Logf("spurious extra connection from %s", extraConn.RemoteAddr())