Pārlūkot izejas kodu

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
v1.2.3
Robert Griesemer pirms 10 gadiem
vecāks
revīzija
73687a33ac
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      key_agreement.go

+ 1
- 1
key_agreement.go Parādīt failu

@@ -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


Notiek ielāde…
Atcelt
Saglabāt