diff options
| author | cuishuang <imcusg@gmail.com> | 2025-09-29 11:51:24 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-10-08 13:58:26 -0700 |
| commit | 1faea2975ced2153e5086c1ee135f983db10150a (patch) | |
| tree | 0055df92d038103a10fb9e6d6a309cc5d24ae721 /ssh/example_test.go | |
| parent | 627cb894b6b2021e34c4ad4af4c0a963127491e4 (diff) | |
| download | go-x-crypto-1faea2975ced2153e5086c1ee135f983db10150a.tar.xz | |
all: fix some typos in comment
Change-Id: Ia209f0a6d9b19d14e655c65d1287a1416b48c487
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/707535
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Nicola Murino <nicola.murino@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Diffstat (limited to 'ssh/example_test.go')
| -rw-r--r-- | ssh/example_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh/example_test.go b/ssh/example_test.go index d6bad3e..653f2c8 100644 --- a/ssh/example_test.go +++ b/ssh/example_test.go @@ -155,7 +155,7 @@ func ExampleNewServerConn() { } func ExampleServerConfig() { - // Minimal ServerConfig with SHA-1 algoritms disabled and supporting only + // Minimal ServerConfig with SHA-1 algorithms disabled and supporting only // public key authentication. // The algorithms returned by ssh.SupportedAlgorithms() are different from @@ -344,7 +344,7 @@ func ExampleClientConfig() { log.Fatalf("unable to parse private key: %v", err) } - // Minimal ClientConfig with SHA-1 algoritms disabled. + // Minimal ClientConfig with SHA-1 algorithms disabled. // The algorithms returned by ssh.SupportedAlgorithms() are different from // the default ones and do not include algorithms that are considered // insecure, such as those using SHA-1, returned by @@ -361,7 +361,7 @@ func ExampleClientConfig() { ssh.PublicKeys(signer), }, HostKeyCallback: ssh.FixedHostKey(hostKey), - // We should check that hostKey algorithm is inlcuded in + // We should check that hostKey algorithm is included in // algorithms.HostKeys. HostKeyAlgorithms: algorithms.HostKeys, } |
