Lines Matching refs:c_ssl
67 SSL *c_ssl = NULL; in do_test() local
165 if (!TEST_ptr(c_ssl = SSL_new(c_ctx))) in do_test()
169 if (!TEST_true(ossl_quic_conn_set_override_now_cb(c_ssl, fake_now, NULL))) in do_test()
173 if (!TEST_false(SSL_set_alpn_protos(c_ssl, alpn, sizeof(alpn)))) in do_test()
178 SSL_set0_rbio(c_ssl, c_pair_own); in do_test()
181 SSL_set0_rbio(c_ssl, c_net_bio); in do_test()
190 SSL_set0_wbio(c_ssl, c_net_bio); in do_test()
193 if (!TEST_true(SSL_set_blocking_mode(c_ssl, 0))) in do_test()
210 ret = SSL_connect(c_ssl); in do_test()
211 if (!TEST_true(ret == 1 || is_want(c_ssl, ret))) in do_test()
219 if (!TEST_int_eq(SSL_write(c_ssl, msg1, sizeof(msg1) - 1), in do_test()
223 if (!TEST_true(SSL_stream_conclude(c_ssl, 0))) in do_test()
263 ret = SSL_read_ex(c_ssl, msg3 + c_total_read, in do_test()
265 if (!TEST_true(ret == 1 || is_want(c_ssl, ret))) in do_test()
282 ret = SSL_read_ex(c_ssl, &c, sizeof(c), &l); in do_test()
290 if (SSL_get_error(c_ssl, ret) != SSL_ERROR_WANT_READ) { in do_test()
291 if (!TEST_int_eq(SSL_get_error(c_ssl, ret), in do_test()
320 ossl_quic_conn_force_assist_thread_wake(c_ssl); in do_test()
326 if (!TEST_true(SSL_get_event_timeout(c_ssl, &tv, &isinf))) in do_test()
354 SSL_handle_events(c_ssl); in do_test()
376 if (!TEST_true(SSL_inject_net_dgram(c_ssl, rmsg.data, rmsg.data_len, in do_test()
385 SSL_free(c_ssl); in do_test()