]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: normalize spelling of "ClientHello" in comments
authorFilippo Valsorda <filippo@golang.org>
Tue, 17 Dec 2024 19:47:17 +0000 (20:47 +0100)
committerGopher Robot <gobot@golang.org>
Wed, 18 Dec 2024 16:50:08 +0000 (08:50 -0800)
Change-Id: I2b62fb37ae390c42682354eaa2a9d03159563b6d
Reviewed-on: https://go-review.googlesource.com/c/go/+/637179
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/crypto/tls/common.go
src/crypto/tls/handshake_client.go

index f98d24b879b889c7abf91af5e436cc0ec8764ee4..d6942d2ef14a27b532dee6d1b502f5632e156ea0 100644 (file)
@@ -456,7 +456,7 @@ type ClientHelloInfo struct {
        SupportedVersions []uint16
 
        // Extensions lists the IDs of the extensions presented by the client
-       // in the client hello.
+       // in the ClientHello.
        Extensions []uint16
 
        // Conn is the underlying net.Conn for the connection. Do not read
@@ -821,7 +821,7 @@ type Config struct {
 
        // EncryptedClientHelloRejectionVerify, if not nil, is called when ECH is
        // rejected by the remote server, in order to verify the ECH provider
-       // certificate in the outer Client Hello. If it returns a non-nil error, the
+       // certificate in the outer ClientHello. If it returns a non-nil error, the
        // handshake is aborted and that error results.
        //
        // On the server side this field is not used.
index ecc62ff2edefc08f9e21c7753a9375c411b46d7f..3bf703e4b93b222d385d6a82505cb193d573ff36 100644 (file)
@@ -944,7 +944,7 @@ func (hs *clientHandshakeState) processServerHello() (bool, error) {
 }
 
 // checkALPN ensure that the server's choice of ALPN protocol is compatible with
-// the protocols that we advertised in the Client Hello.
+// the protocols that we advertised in the ClientHello.
 func checkALPN(clientProtos []string, serverProto string, quic bool) error {
        if serverProto == "" {
                if quic && len(clientProtos) > 0 {