Skip to content

Commit

Permalink
crypto/tls: fix comment typo.
Browse files Browse the repository at this point in the history
This was pointed out in https://go-review.googlesource.com/#/c/27315/1
but I changed and uploaded the wrong branch. This actually makes the
fix.

Change-Id: Ib615b06c9141b914648b6abbeeb688c5ffa0d2e3
Reviewed-on: https://go-review.googlesource.com/27360
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
agl committed Aug 18, 2016
1 parent cfd077f commit 999c968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cipher_suites.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ func macSHA1(version uint16, key []byte) macFunction {
return tls10MAC{hmac.New(sha1.New, key)}
}

// macSHA1 returns a SHA-256 based MAC. These are only supported in TLS 1.2 so
// the given version is ignored.
// macSHA256 returns a SHA-256 based MAC. These are only supported in TLS 1.2
// so the given version is ignored.
func macSHA256(version uint16, key []byte) macFunction {
return tls10MAC{hmac.New(sha256.New, key)}
}
Expand Down

0 comments on commit 999c968

Please sign in to comment.