aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/crypto
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2014-05-02 13:17:55 -0700
committerRobert Griesemer <gri@golang.org>2014-05-02 13:17:55 -0700
commitf3913624a7615fcd25cad078c19e0374ad4e1f3f (patch)
treea5442ef5ff746e2dc978f5392c67f65f167de83a /src/pkg/crypto
parentab5247efc40b3e7db4ebfa247d91037a1fa2bc63 (diff)
downloadgo-f3913624a7615fcd25cad078c19e0374ad4e1f3f.tar.xz
std lib: fix various typos in comments
Where the spelling changed from British to US norm (e.g., optimise -> optimize) it follows the style in that file. LGTM=adonovan R=golang-codereviews, adonovan CC=golang-codereviews https://golang.org/cl/96980043
Diffstat (limited to 'src/pkg/crypto')
-rw-r--r--src/pkg/crypto/tls/key_agreement.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/tls/key_agreement.go b/src/pkg/crypto/tls/key_agreement.go
index 94bb5e99e7..f38b701f1b 100644
--- a/src/pkg/crypto/tls/key_agreement.go
+++ b/src/pkg/crypto/tls/key_agreement.go
@@ -141,7 +141,7 @@ func hashForServerKeyExchange(sigType, hashFunc uint8, version uint16, slices ..
// pickTLS12HashForSignature returns a TLS 1.2 hash identifier for signing a
// ServerKeyExchange given the signature type being used and the client's
-// advertized list of supported signature and hash combinations.
+// advertised list of supported signature and hash combinations.
func pickTLS12HashForSignature(sigType uint8, clientSignatureAndHashes []signatureAndHash) (uint8, error) {
if len(clientSignatureAndHashes) == 0 {
// If the client didn't specify any signature_algorithms