diff options
| author | cui fliter <imcusg@gmail.com> | 2023-03-20 21:34:42 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-03-20 20:33:29 +0000 |
| commit | 018c28f8a114a06529db797a334e535135fa601d (patch) | |
| tree | 12aa7469bc294d58b8182676e46808ecf11b584f | |
| parent | 9cd0187c095baaa3ed858e68f710c786e7b2bd6f (diff) | |
| download | go-x-crypto-018c28f8a114a06529db797a334e535135fa601d.tar.xz | |
all: fix some comments
Change-Id: Ia0410f1f3bb0a9ee68c6dbe1e6f62f65f9e00955
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/477755
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Roland Shoemaker <roland@golang.org>
Run-TryBot: shuang cui <imcusg@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
| -rw-r--r-- | openpgp/packet/compressed.go | 2 | ||||
| -rw-r--r-- | ssh/agent/server.go | 2 | ||||
| -rw-r--r-- | ssh/connection.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/packet/compressed.go b/openpgp/packet/compressed.go index e8f0b5c..353f945 100644 --- a/openpgp/packet/compressed.go +++ b/openpgp/packet/compressed.go @@ -60,7 +60,7 @@ func (c *Compressed) parse(r io.Reader) error { return err } -// compressedWriterCloser represents the serialized compression stream +// compressedWriteCloser represents the serialized compression stream // header and the compressor. Its Close() method ensures that both the // compressor and serialized stream header are closed. Its Write() // method writes to the compressor. diff --git a/ssh/agent/server.go b/ssh/agent/server.go index 6e7a1e0..9a769de 100644 --- a/ssh/agent/server.go +++ b/ssh/agent/server.go @@ -20,7 +20,7 @@ import ( "golang.org/x/crypto/ssh" ) -// Server wraps an Agent and uses it to implement the agent side of +// server wraps an Agent and uses it to implement the agent side of // the SSH-agent, wire protocol. type server struct { agent Agent diff --git a/ssh/connection.go b/ssh/connection.go index 35661a5..8f345ee 100644 --- a/ssh/connection.go +++ b/ssh/connection.go @@ -97,7 +97,7 @@ func (c *connection) Close() error { return c.sshConn.conn.Close() } -// sshconn provides net.Conn metadata, but disallows direct reads and +// sshConn provides net.Conn metadata, but disallows direct reads and // writes. type sshConn struct { conn net.Conn |
