Home
last modified time | relevance | path

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

/openssl/test/
H A Dquic_client_test.c39 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()
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()
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()
149 ret = SSL_shutdown(c_ssl); in test_quic_client_ex()
159 SSL_handle_events(c_ssl); in test_quic_client_ex()
[all …]
H A Dquic_tserver_test.c67 SSL *c_ssl = NULL; in do_test() local
165 if (!TEST_ptr(c_ssl = SSL_new(c_ctx))) 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()
263 ret = SSL_read_ex(c_ssl, msg3 + c_total_read, in do_test()
282 ret = SSL_read_ex(c_ssl, &c, sizeof(c), &l); in do_test()
354 SSL_handle_events(c_ssl); in do_test()
[all …]
H A Dssl_old_test.c790 SSL_get_version(c_ssl), in print_details()
909 SSL *c_ssl = NULL; in main() local
1773 c_ssl = SSL_new(c_ctx); in main()
1886 print_details(c_ssl, ""); in main()
1909 SSL_free(c_ssl); in main()
2000 SSL_set_connect_state(c_ssl); in doit_localhost()
2191 if (verify_npn(c_ssl, s_ssl) < 0) in doit_localhost()
2198 if (verify_alpn(c_ssl, s_ssl) < 0 in doit_localhost()
2255 SSL_set_connect_state(c_ssl); in doit_biopair()
2650 SSL_set_connect_state(c_ssl); in doit()
[all …]
H A Dquicapitest.c2129 SSL *c_ssl = NULL; in test_tparam() local
2141 &c_ssl, &qtf, NULL))) in test_tparam()
2148 if (!TEST_true(qtest_create_quic_connection_ex(s, c_ssl, in test_tparam()
2155 if (!TEST_true(SSL_get_conn_close_info(c_ssl, &info, sizeof(info)))) in test_tparam()
2183 SSL_free(c_ssl); in test_tparam()

Completed in 29 milliseconds