MCPcopy
hub / github.com/tjfoc/gmsm / unexpectedMessageError

Function unexpectedMessageError

gmtls/common.go:994–996  ·  view source on GitHub ↗
(wanted, got interface{})

Source from the content-addressed store, hash-verified

992}
993
994func unexpectedMessageError(wanted, got interface{}) error {
995 return fmt.Errorf("tls: received unexpected handshake message of type %T when waiting for %T", got, wanted)
996}
997
998func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
999 for _, s := range supportedSignatureAlgorithms {

Callers 15

handshakeMethod · 0.85
doFullHandshakeMethod · 0.85
readFinishedMethod · 0.85
readSessionTicketMethod · 0.85
readClientHelloMethod · 0.85
doFullHandshakeMethod · 0.85
readFinishedMethod · 0.85
handshakeMethod · 0.85
doFullHandshakeMethod · 0.85
readFinishedMethod · 0.85
readSessionTicketMethod · 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…