mirror of
https://github.com/XTLS/REALITY.git
synced 2025-08-22 22:48:36 +00:00
crypto/tls: normalize spelling of "ClientHello" in comments
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>
This commit is contained in:
parent
a102c2f5af
commit
4711d35b15
@ -456,7 +456,7 @@ type ClientHelloInfo struct {
|
|||||||
SupportedVersions []uint16
|
SupportedVersions []uint16
|
||||||
|
|
||||||
// Extensions lists the IDs of the extensions presented by the client
|
// Extensions lists the IDs of the extensions presented by the client
|
||||||
// in the client hello.
|
// in the ClientHello.
|
||||||
Extensions []uint16
|
Extensions []uint16
|
||||||
|
|
||||||
// Conn is the underlying net.Conn for the connection. Do not read
|
// Conn is the underlying net.Conn for the connection. Do not read
|
||||||
@ -835,7 +835,7 @@ type Config struct {
|
|||||||
|
|
||||||
// EncryptedClientHelloRejectionVerify, if not nil, is called when ECH is
|
// EncryptedClientHelloRejectionVerify, if not nil, is called when ECH is
|
||||||
// rejected by the remote server, in order to verify the ECH provider
|
// 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.
|
// handshake is aborted and that error results.
|
||||||
//
|
//
|
||||||
// On the server side this field is not used.
|
// On the server side this field is not used.
|
||||||
|
@ -937,7 +937,7 @@ func (hs *clientHandshakeState) processServerHello() (bool, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// checkALPN ensure that the server's choice of ALPN protocol is compatible with
|
// 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 {
|
func checkALPN(clientProtos []string, serverProto string, quic bool) error {
|
||||||
if serverProto == "" {
|
if serverProto == "" {
|
||||||
if quic && len(clientProtos) > 0 {
|
if quic && len(clientProtos) > 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user