MCPcopy Create free account
hub / github.com/XTLS/REALITY / Error

Method Error

ech.go:63–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func (e *echConfigErr) Error() string {
64 if e.field == "" {
65 return "tls: malformed ECHConfig"
66 }
67 return fmt.Sprintf("tls: malformed ECHConfig, invalid %s field", e.field)
68}
69
70func parseECHConfig(enc []byte) (skip bool, ec EchConfig, err error) {
71 s := cryptobyte.String(enc)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected