Home
last modified time | relevance | path

Searched refs:want (Results 1 – 5 of 5) sorted by relevance

/ssl/test/runner/
A Dconn.go906 func (c *Conn) doReadRecord(want recordType) (recordType, []byte, error) {
909 return c.dtlsDoReadRecord(&c.in.epoch, want)
935 if want == recordTypeHandshake && typ == 0x80 {
974 if (typ != recordTypeAlert && typ != want) || vers >= 0x1000 || n >= 0x3000 {
1069 func (c *Conn) readRecord(want recordType) error {
1073 switch want {
1097 typ, data, err := doReadRecord(want)
1140 if typ != want || len(data) != 1 || data[0] != 1 {
1161 if typ != want {
1171 if typ != want && want != recordTypeApplicationData {
[all …]
A Drunner.go1400 want := fmt.Sprintf("\tlocal: %q\n\tremote: %q", expectedLocal, expectedCanonical)
1402 return got, want
1405 return got, want + " (no specified mapping)"
1407 return got, want + " mapped to one of:\n\t\t" + strings.Join(expectedErrors, "\n\t\t")
1788 got, want := formatErrors(expectedErrors,
1797 msg = fmt.Sprintf("unexpected success\nwant:\n%s\n", want)
1799 msg = fmt.Sprintf("unexpected error\ngot:\n%s\n\nwant:\n%s\n", got, want)
A Dmock_quic_transport.go122 func (m *mockQUICTransport) readRecord(want recordType) (recordType, []byte, error) {
A Ddtls.go260 func (c *Conn) dtlsDoReadRecord(epoch *epochState, want recordType) (recordType, []byte, error) {
/ssl/
A Dencrypted_client_hello.cc210 uint16_t want; in ssl_decode_client_hello_inner() local
211 if (!CBS_get_u16(&ext_list, &want)) { in ssl_decode_client_hello_inner()
216 if (want == TLSEXT_TYPE_encrypted_client_hello) { in ssl_decode_client_hello_inner()
236 } while (found != want); in ssl_decode_client_hello_inner()

Completed in 19 milliseconds