aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2022-03-07 15:51:16 +0000
committerIan Lance Taylor <iant@golang.org>2022-03-07 21:11:46 +0000
commitefcb8507fb706dc09498bdd32b7aafa38228fc86 (patch)
treea0401edb80bae4473431d1b2020abd158236f1e4
parent86341886e2925764dc890ad96c141a1bc76043af (diff)
downloadgo-x-crypto-efcb8507fb706dc09498bdd32b7aafa38228fc86.tar.xz
ssh: fix typo
Change-Id: I5832916eb921d2d18e3082cd04520e22e2b04127 GitHub-Last-Rev: c0999b83439a5f0ff57b740c18f47d81028e552a GitHub-Pull-Request: golang/crypto#207 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/390414 Reviewed-by: Roland Shoemaker <roland@golang.org> Trust: Carlos Amedee <carlos@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
-rw-r--r--ssh/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh/server.go b/ssh/server.go
index 8e01365..bf5364c 100644
--- a/ssh/server.go
+++ b/ssh/server.go
@@ -634,7 +634,7 @@ userAuthLoop:
authFailures++
if config.MaxAuthTries > 0 && authFailures >= config.MaxAuthTries {
- // If we have hit the max attemps, don't bother sending the
+ // If we have hit the max attempts, don't bother sending the
// final SSH_MSG_USERAUTH_FAILURE message, since there are
// no more authentication methods which can be attempted,
// and this message may cause the client to re-attempt