MCPcopy
hub / github.com/XTLS/REALITY / unexpectedMessageError

Function unexpectedMessageError

common.go:1717–1719  ·  view source on GitHub ↗
(wanted, got any)

Source from the content-addressed store, hash-verified

1715}
1716
1717func unexpectedMessageError(wanted, got any) error {
1718 return fmt.Errorf("tls: received unexpected handshake message of type %T when waiting for %T", got, wanted)
1719}
1720
1721// supportedSignatureAlgorithms returns the supported signature algorithms for
1722// the given minimum TLS version, to advertise in ClientHello and

Callers 15

handleRenegotiationMethod · 0.85
clientHandshakeMethod · 0.85
doFullHandshakeMethod · 0.85
readFinishedMethod · 0.85
readSessionTicketMethod · 0.85
readServerParametersMethod · 0.85
readServerCertificateMethod · 0.85
readServerFinishedMethod · 0.85
doHelloRetryRequestMethod · 0.85
readClientCertificateMethod · 0.85
readClientFinishedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…