Home
last modified time | relevance | path

Searched refs:cssl (Results 1 – 5 of 5) sorted by relevance

/third_party/openssl/test/
Dtls13ccstest.c246 SSL *sssl = NULL, *cssl = NULL; in test_tls13ccs() local
303 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, NULL)) in test_tls13ccs()
304 || !TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) in test_tls13ccs()
306 sess = SSL_get1_session(cssl); in test_tls13ccs()
309 SSL_shutdown(cssl); in test_tls13ccs()
312 SSL_free(cssl); in test_tls13ccs()
313 sssl = cssl = NULL; in test_tls13ccs()
332 if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, s_to_c_fbio, in test_tls13ccs()
338 if (!TEST_true(SSL_set_session(cssl, sess)) in test_tls13ccs()
339 || !TEST_true(SSL_write_early_data(cssl, msg, strlen(msg), in test_tls13ccs()
[all …]
Dfatalerrtest.c22 SSL *sssl = NULL, *cssl = NULL; in test_fatalerr() local
46 || !TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, in test_fatalerr()
50 wbio = SSL_get_wbio(cssl); in test_fatalerr()
57 if (!TEST_false(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) in test_fatalerr()
78 SSL_free(cssl); in test_fatalerr()
Dssltestlib.h20 SSL **cssl, BIO *s_to_c_fbio, BIO *c_to_s_fbio);
Dssltestlib.c770 SSL **cssl, BIO *s_to_c_fbio, BIO *c_to_s_fbio) in create_ssl_objects() argument
779 if (*cssl != NULL) in create_ssl_objects()
780 clientssl = *cssl; in create_ssl_objects()
811 *cssl = clientssl; in create_ssl_objects()
Dsslapitest.c1361 static int post_handshake_verify(SSL *sssl, SSL *cssl) in post_handshake_verify() argument
1369 || !TEST_int_le(SSL_read(cssl, NULL, 0), 0) in post_handshake_verify()
1371 || !TEST_true(create_ssl_connection(sssl, cssl, in post_handshake_verify()