diff --git a/openpgp/packet/compressed.go b/openpgp/packet/compressed.go index e8f0b5caa7..353f945247 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 6e7a1e02f2..9a769de03d 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 35661a52be..8f345ee924 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