Home
last modified time | relevance | path

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

/openssl-master/test/
A Dsslapitest.c432 SSL_free(clientssl); in test_keylog()
510 SSL_free(clientssl); in test_keylog_no_master_key()
549 SSL_free(clientssl); in test_keylog_no_master_key()
1254 if (clientssl) { in execute_test_ktls()
1385 if (clientssl) { in execute_test_ktls_sendfile()
1712 clientssl = NULL; in test_tlsext_status_type()
1722 clientssl = NULL; in test_tlsext_status_type()
1742 clientssl = NULL; in test_tlsext_status_type()
1759 clientssl = NULL; in test_tlsext_status_type()
5390 clientssl = NULL; in test_stateless()
[all …]
A Ddtlstest.c165 SSL *serverssl = NULL, *clientssl = NULL; in test_dtls_drop_records() local
198 SSL_shutdown(clientssl); in test_dtls_drop_records()
201 SSL_free(clientssl); in test_dtls_drop_records()
202 serverssl = clientssl = NULL; in test_dtls_drop_records()
228 DTLS_set_timer_cb(clientssl, timer_cb); in test_dtls_drop_records()
240 mempackbio = SSL_get_wbio(clientssl); in test_dtls_drop_records()
265 SSL_free(clientssl); in test_dtls_drop_records()
292 SSL *serverssl = NULL, *clientssl = NULL; in test_cookie() local
322 SSL_free(clientssl); in test_cookie()
353 DTLS_set_timer_cb(clientssl, timer_cb); in test_dtls_duplicate_records()
[all …]
A Dsslbuffertest.c49 SSL *serverssl = NULL, *clientssl = NULL; in test_func() local
55 if (!TEST_true(create_ssl_objects(serverctx, clientctx, &serverssl, &clientssl, in test_func()
61 if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) { in test_func()
81 if (test >= 1 && !TEST_true(SSL_free_buffers(clientssl))) in test_func()
83 if (test >= 2 && !TEST_true(SSL_alloc_buffers(clientssl))) in test_func()
86 if (test >= 3 && !TEST_true(SSL_alloc_buffers(clientssl))) in test_func()
88 if (test >= 4 && !TEST_true(SSL_free_buffers(clientssl))) in test_func()
91 ret = SSL_write(clientssl, testdata + len, in test_func()
96 int ssl_error = SSL_get_error(clientssl, ret); in test_func()
147 SSL_free(clientssl); in test_func()
A Dasynciotest.c292 SSL *serverssl = NULL, *clientssl = NULL; in test_asyncio() local
326 &clientssl, s_to_c_fbio, c_to_s_fbio)) in test_asyncio()
327 || !TEST_true(create_ssl_connection(serverssl, clientssl, in test_asyncio()
344 ret = SSL_write(clientssl, testdata + len, in test_asyncio()
349 int ssl_error = SSL_get_error(clientssl, ret); in test_asyncio()
382 SSL_free(clientssl); in test_asyncio()
384 clientssl = serverssl = NULL; in test_asyncio()
389 SSL_free(clientssl); in test_asyncio()
A Drecordlentest.c83 SSL *clientssl = NULL, *serverssl = NULL; in test_record_overflow() local
124 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_record_overflow()
151 if (!TEST_true(create_ssl_connection(serverssl, clientssl, in test_record_overflow()
180 SSL_free(clientssl); in test_record_overflow()
A Dservername_test.c205 SSL *clientssl = NULL, *serverssl = NULL; in server_setup_sni() local
212 || !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in server_setup_sni()
219 if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) in server_setup_sni()
231 SSL_free(clientssl); in server_setup_sni()
/openssl-master/test/helpers/
A Dssltestlib.c841 SSL *serverssl = NULL, *clientssl = NULL; in create_ssl_objects2() local
849 clientssl = *cssl; in create_ssl_objects2()
860 *cssl = clientssl; in create_ssl_objects2()
865 SSL_free(clientssl); in create_ssl_objects2()
886 clientssl = *cssl; in create_ssl_objects()
890 if (SSL_is_dtls(clientssl)) { in create_ssl_objects()
917 *cssl = clientssl; in create_ssl_objects()
922 SSL_free(clientssl); in create_ssl_objects()
951 retc = SSL_connect(clientssl); in create_bare_ssl_connection()
1053 SSL_shutdown(clientssl); in shutdown_ssl_connection()
[all …]
A Dssltestlib.h21 int create_bare_ssl_connection(SSL *serverssl, SSL *clientssl, int want,
26 int create_ssl_connection(SSL *serverssl, SSL *clientssl, int want);
27 void shutdown_ssl_connection(SSL *serverssl, SSL *clientssl);

Completed in 35 milliseconds