Skip to content

Commit 4a75ba5

Browse files
cuishuanggopherbot
authored andcommitted
all: make function and struct comments match the names
Change-Id: Iba9c1fc2895adca0d3455f8068b040d0ca006408 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/639575 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]>
1 parent b4f1988 commit 4a75ba5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

acme/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ type Directory struct {
288288
// KeyChangeURL allows to perform account key rollover flow.
289289
KeyChangeURL string
290290

291-
// Term is a URI identifying the current terms of service.
291+
// Terms is a URI identifying the current terms of service.
292292
Terms string
293293

294294
// Website is an HTTP or HTTPS URL locating a website

pkcs12/crypto.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type pbeCipher interface {
2626
create(key []byte) (cipher.Block, error)
2727
// deriveKey returns a key derived from the given password and salt.
2828
deriveKey(salt, password []byte, iterations int) []byte
29-
// deriveKey returns an IV derived from the given password and salt.
29+
// deriveIV returns an IV derived from the given password and salt.
3030
deriveIV(salt, password []byte, iterations int) []byte
3131
}
3232

ssh/client_auth_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func tryAuth(t *testing.T, config *ClientConfig) error {
3838
return err
3939
}
4040

41-
// tryAuth runs a handshake with a given config against an SSH server
41+
// tryAuthWithGSSAPIWithMICConfig runs a handshake with a given config against an SSH server
4242
// with a given GSSAPIWithMICConfig and config serverConfig. Returns both client and server side errors.
4343
func tryAuthWithGSSAPIWithMICConfig(t *testing.T, clientConfig *ClientConfig, gssAPIWithMICConfig *GSSAPIWithMICConfig) error {
4444
err, _ := tryAuthBothSides(t, clientConfig, gssAPIWithMICConfig)

0 commit comments

Comments
 (0)