Home
last modified time | relevance | path

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

/openssl/test/
H A Dservername_test.c45 PACKET pkt, pkt2, pkt3, pkt4, pkt5; in get_sni_from_client_hello() local
53 memset(&pkt5, 0, sizeof(pkt5)); in get_sni_from_client_hello()
84 || !TEST_true(PACKET_get_length_prefixed_2(&pkt4, &pkt5)) in get_sni_from_client_hello()
85 || !TEST_uint_le(PACKET_remaining(&pkt5), TLSEXT_MAXLEN_host_name) in get_sni_from_client_hello()
86 || !TEST_false(PACKET_contains_zero_byte(&pkt5)) in get_sni_from_client_hello()
87 || !TEST_true(PACKET_strndup(&pkt5, sni))) in get_sni_from_client_hello()

Completed in 5 milliseconds