Selaa lähdekoodia

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 10 vuotta sitten
vanhempi
commit
02a186af8b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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