Explorar o código

crypto/ssh: fix a comment (trivial)

Comment in Agent made to conform the godoc style.

Change-Id: I4e1e8ce1a15ca346715fae257ae2178f5093d40d
Reviewed-on: https://go-review.googlesource.com/12183
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Dmitry Savintsev %!s(int64=10) %!d(string=hai) anos
pai
achega
02a186af8b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ssh/agent/client.go

+ 1 - 1
ssh/agent/client.go

@@ -36,7 +36,7 @@ type Agent interface {
 	// in [PROTOCOL.agent] section 2.6.2.
 	Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
 
-	// Insert adds a private key to the agent. If a certificate
+	// Add adds a private key to the agent. If a certificate
 	// is given, that certificate is added as public key.
 	Add(s interface{}, cert *ssh.Certificate, comment string) error