Searched refs:clientssl (Results 1 – 8 of 8) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | sslapitest.c | 420 SSL_free(clientssl); in test_keylog() 498 SSL_free(clientssl); in test_keylog_no_master_key() 537 SSL_free(clientssl); in test_keylog_no_master_key() 1275 if (clientssl) { in execute_test_ktls() 1406 if (clientssl) { in execute_test_ktls_sendfile() 1900 clientssl = NULL; in test_tlsext_status_type() 1910 clientssl = NULL; in test_tlsext_status_type() 1930 clientssl = NULL; in test_tlsext_status_type() 1947 clientssl = NULL; in test_tlsext_status_type() 5654 clientssl = NULL; in test_stateless() [all …]
|
H A D | dtlstest.c | 194 SSL *serverssl = NULL, *clientssl = NULL; in test_dtls_drop_records() local 232 SSL_shutdown(clientssl); in test_dtls_drop_records() 235 SSL_free(clientssl); in test_dtls_drop_records() 236 serverssl = clientssl = NULL; in test_dtls_drop_records() 264 DTLS_set_timer_cb(clientssl, timer_cb); in test_dtls_drop_records() 276 mempackbio = SSL_get_wbio(clientssl); in test_dtls_drop_records() 301 SSL_free(clientssl); in test_dtls_drop_records() 312 SSL *serverssl = NULL, *clientssl = NULL; in test_cookie() local 342 SSL_free(clientssl); in test_cookie() 373 DTLS_set_timer_cb(clientssl, timer_cb); in test_dtls_duplicate_records() [all …]
|
H A D | sslbuffertest.c | 49 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()
|
H A D | asynciotest.c | 292 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()
|
H A D | recordlentest.c | 83 SSL *clientssl = NULL, *serverssl = NULL; in test_record_overflow() local 122 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_record_overflow() 149 if (!TEST_true(create_ssl_connection(serverssl, clientssl, in test_record_overflow() 178 SSL_free(clientssl); in test_record_overflow()
|
H A D | servername_test.c | 205 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()
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | ssltestlib.c | 968 SSL *serverssl = NULL, *clientssl = NULL; in create_ssl_objects2() local 976 clientssl = *cssl; in create_ssl_objects2() 987 *cssl = clientssl; in create_ssl_objects2() 992 SSL_free(clientssl); in create_ssl_objects2() 1013 clientssl = *cssl; in create_ssl_objects() 1017 if (SSL_is_dtls(clientssl)) { in create_ssl_objects() 1044 *cssl = clientssl; in create_ssl_objects() 1049 SSL_free(clientssl); in create_ssl_objects() 1078 retc = SSL_connect(clientssl); in create_bare_ssl_connection() 1180 SSL_shutdown(clientssl); in shutdown_ssl_connection() [all …]
|
H A D | ssltestlib.h | 21 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);
|