MCPcopy Index your code
hub / github.com/XTLS/Go / unexpectedMessageError

Function unexpectedMessageError

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

Source from the content-addressed store, hash-verified

1463}
1464
1465func unexpectedMessageError(wanted, got any) error {
1466 return fmt.Errorf("tls: received unexpected handshake message of type %T when waiting for %T", got, wanted)
1467}
1468
1469func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
1470 for _, s := range supportedSignatureAlgorithms {

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…