Lines Matching refs:c_ssl
39 SSL *c_ssl = NULL; in test_quic_client_ex() local
77 if (!TEST_ptr(c_ssl = SSL_new(c_ctx))) in test_quic_client_ex()
81 if (!TEST_false(SSL_set_alpn_protos(c_ssl, alpn, sizeof(alpn)))) in test_quic_client_ex()
85 SSL_set0_rbio(c_ssl, c_net_bio); in test_quic_client_ex()
93 SSL_set0_wbio(c_ssl, c_net_bio); in test_quic_client_ex()
96 if (!TEST_true(SSL_set_blocking_mode(c_ssl, 0))) in test_quic_client_ex()
109 ret = SSL_connect(c_ssl); in test_quic_client_ex()
110 if (!TEST_true(ret == 1 || is_want(c_ssl, ret))) in test_quic_client_ex()
120 if (!TEST_int_eq(SSL_write(c_ssl, msg1, sizeof(msg1) - 1), in test_quic_client_ex()
124 if (!TEST_true(SSL_stream_conclude(c_ssl, 0))) in test_quic_client_ex()
131 ret = SSL_read_ex(c_ssl, msg2 + c_total_read, in test_quic_client_ex()
134 if (SSL_get_error(c_ssl, ret) == SSL_ERROR_ZERO_RETURN) { in test_quic_client_ex()
137 } else if (!TEST_true(is_want(c_ssl, ret))) { in test_quic_client_ex()
149 ret = SSL_shutdown(c_ssl); in test_quic_client_ex()
159 SSL_handle_events(c_ssl); in test_quic_client_ex()
164 SSL_free(c_ssl); in test_quic_client_ex()