Home
last modified time | relevance | path

Searched refs:serverssl (Results 1 – 11 of 11) sorted by relevance

/openssl/test/
H A Dsslapitest.c419 SSL_free(serverssl); in test_keylog()
497 SSL_free(serverssl); in test_keylog_no_master_key()
536 SSL_free(serverssl); in test_keylog_no_master_key()
786 SSL_free(serverssl); in test_client_hello_cb()
837 SSL_free(serverssl); in test_no_ems()
947 SSL_free(serverssl); in test_ccs_change_cipher()
1010 SSL_free(serverssl); in execute_test_large_message()
1285 if (serverssl) { in execute_test_ktls()
1427 if (serverssl) { in execute_test_ktls_sendfile()
1957 serverssl = NULL; in test_tlsext_status_type()
[all …]
H A Dsslbuffertest.c75 SSL *serverssl = NULL, *clientssl = NULL; in test_func() local
158 ret = SSL_read(serverssl, buf + len, sizeof(buf) - len); in test_func()
162 int ssl_error = SSL_get_error(serverssl, ret); in test_func()
181 SSL_free(serverssl); in test_func()
202 SSL *serverssl = NULL, *clientssl = NULL; in test_free_buffers() local
222 || !TEST_true(SSL_set_max_proto_version(serverssl, in test_free_buffers()
224 || !TEST_true(SSL_set_max_pipelines(serverssl, 2))) in test_free_buffers()
228 if (!TEST_true(create_ssl_connection(serverssl, clientssl, in test_free_buffers()
261 tmp = SSL_get_rbio(serverssl); in test_free_buffers()
329 if (!TEST_false(SSL_free_buffers(serverssl))) in test_free_buffers()
[all …]
H A Drpktest.c100 SSL *clientssl = NULL, *serverssl = NULL; in test_rpk() local
259 if (!TEST_int_gt(SSL_dane_enable(serverssl, NULL), 0)) in test_rpk()
394 SSL_set_options(serverssl, SSL_OP_NO_TICKET); in test_rpk()
443 SSL_set_options(serverssl, SSL_OP_NO_TICKET); in test_rpk()
483 if (!TEST_true(SSL_do_handshake(serverssl))) in test_rpk()
496 if (!TEST_ptr(SSL_get0_peer_rpk(serverssl))) in test_rpk()
526 SSL_shutdown(serverssl); in test_rpk()
528 SSL_free(serverssl); in test_rpk()
529 serverssl = clientssl = NULL; in test_rpk()
610 if (!TEST_ptr(SSL_get0_peer_rpk(serverssl))) in test_rpk()
[all …]
H A Ddtlstest.c233 SSL_shutdown(serverssl); in test_dtls_drop_records()
234 SSL_free(serverssl); in test_dtls_drop_records()
300 SSL_free(serverssl); in test_dtls_drop_records()
341 SSL_free(serverssl); in test_cookie()
384 SSL_free(serverssl); in test_dtls_duplicate_records()
400 SSL *serverssl = NULL; in test_just_finished() local
434 serverssl = SSL_new(sctx); in test_just_finished()
442 SSL_set0_rbio(serverssl, rbio); in test_just_finished()
443 SSL_set0_wbio(serverssl, wbio); in test_just_finished()
465 SSL_free(serverssl); in test_just_finished()
[all …]
H A Dcert_comp_test.c125 SSL *clientssl = NULL, *serverssl = NULL; in test_ssl_cert_comp() local
192 if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_ssl_cert_comp()
198 if (!TEST_true(SSL_set_app_data(serverssl, &server_seen))) in test_ssl_cert_comp()
201 SSL_set_info_callback(serverssl, cert_comp_info_cb); in test_ssl_cert_comp()
204 if (!TEST_int_eq(ssl_comp_cert(serverssl, expected_server), expected_server)) in test_ssl_cert_comp()
208 if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) in test_ssl_cert_comp()
212 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(serverssl); in test_ssl_cert_comp()
221 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(serverssl); in test_ssl_cert_comp()
232 if (!TEST_true(*(int*)SSL_get_app_data(serverssl))) in test_ssl_cert_comp()
239 SSL_free(serverssl); in test_ssl_cert_comp()
H A Drecordlentest.c83 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()
126 serverbio = SSL_get_rbio(serverssl); in test_record_overflow()
139 if (!TEST_int_le(SSL_accept(serverssl), 0)) in test_record_overflow()
149 if (!TEST_true(create_ssl_connection(serverssl, clientssl, in test_record_overflow()
167 if (!TEST_false(SSL_read_ex(serverssl, &buf, sizeof(buf), &written))) in test_record_overflow()
177 SSL_free(serverssl); in test_record_overflow()
H A Dssl_handshake_rtt_test.c48 SSL *clientssl = NULL, *serverssl = NULL; in test_handshake_rtt() local
69 || !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, in test_handshake_rtt()
73 s = SSL_CONNECTION_FROM_SSL(tst % 2 == 0 ? clientssl : serverssl); in test_handshake_rtt()
125 SSL_free(serverssl); in test_handshake_rtt()
H A Dasynciotest.c292 SSL *serverssl = NULL, *clientssl = NULL; in test_asyncio() local
325 if (!TEST_true(create_ssl_objects(serverctx, clientctx, &serverssl, in test_asyncio()
327 || !TEST_true(create_ssl_connection(serverssl, clientssl, in test_asyncio()
366 ret = SSL_read(serverssl, buf + len, sizeof(buf) - len); in test_asyncio()
370 int ssl_error = SSL_get_error(serverssl, ret); in test_asyncio()
383 SSL_free(serverssl); in test_asyncio()
384 clientssl = serverssl = NULL; in test_asyncio()
390 SSL_free(serverssl); in test_asyncio()
H 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()
217 SSL_set_tlsext_host_name(serverssl, host); in server_setup_sni()
219 if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) in server_setup_sni()
222 if (!TEST_ptr_null(SSL_get_servername(serverssl, in server_setup_sni()
230 SSL_free(serverssl); in server_setup_sni()
/openssl/test/helpers/
H A Dssltestlib.c1092 SSL *serverssl = NULL, *clientssl = NULL; in create_ssl_objects2() local
1097 serverssl = *sssl; in create_ssl_objects2()
1132 *sssl = serverssl; in create_ssl_objects2()
1137 SSL_free(serverssl); in create_ssl_objects2()
1159 SSL *serverssl = NULL, *clientssl = NULL; in create_ssl_objects() local
1163 serverssl = *sssl; in create_ssl_objects()
1197 *sssl = serverssl; in create_ssl_objects()
1202 SSL_free(serverssl); in create_ssl_objects()
1227 int isdtls = SSL_is_dtls(serverssl); in create_bare_ssl_connection()
1374 SSL_shutdown(serverssl); in shutdown_ssl_connection()
[all …]
H A Dssltestlib.h29 int create_bare_ssl_connection(SSL *serverssl, SSL *clientssl, int want,
35 int create_ssl_connection(SSL *serverssl, SSL *clientssl, int want);
36 void shutdown_ssl_connection(SSL *serverssl, SSL *clientssl);

Completed in 58 milliseconds