• Home
  • Raw
  • Download

Lines Matching refs:TEST_true

43     if (!TEST_true(PACKET_buf_init(&pkt, data, len))  in get_sni_from_client_hello()
47 || !TEST_true(PACKET_forward(&pkt, SSL3_HM_HEADER_LENGTH)) in get_sni_from_client_hello()
49 || !TEST_true(PACKET_forward(&pkt, CLIENT_VERSION_LEN in get_sni_from_client_hello()
52 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_sni_from_client_hello()
54 || !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2)) in get_sni_from_client_hello()
56 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_sni_from_client_hello()
58 || !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2))) in get_sni_from_client_hello()
63 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_sni_from_client_hello()
64 || !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3))) in get_sni_from_client_hello()
67 if (!TEST_true(PACKET_get_length_prefixed_2(&pkt3, &pkt4)) in get_sni_from_client_hello()
69 || !TEST_true(PACKET_get_1(&pkt4, &servname_type)) in get_sni_from_client_hello()
71 || !TEST_true(PACKET_get_length_prefixed_2(&pkt4, &pkt5)) in get_sni_from_client_hello()
74 || !TEST_true(PACKET_strndup(&pkt5, sni))) in get_sni_from_client_hello()
118 if (!TEST_true(get_sni_from_client_hello(wbio, &hostname))) in client_setup_sni_before_state()
167 if (!TEST_true(get_sni_from_client_hello(wbio, &hostname))) in client_setup_sni_after_state()
187 if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(), in server_setup_sni()
191 || !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in server_setup_sni()
198 if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) in server_setup_sni()