Searched refs:cssl (Results 1 – 6 of 6) sorted by relevance
/openssl/test/ |
H A D | tls13ccstest.c | 246 SSL *sssl = NULL, *cssl = NULL; in test_tls13ccs() local 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() 345 if (!TEST_true(SSL_set_session(cssl, sess)) in test_tls13ccs() 346 || !TEST_true(SSL_write_early_data(cssl, msg, strlen(msg), in test_tls13ccs() 354 if (!TEST_int_gt(SSL_connect(cssl), 0)) in test_tls13ccs() 357 if (!TEST_int_le(SSL_connect(cssl), 0)) in test_tls13ccs() 367 if (!TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE))) in test_tls13ccs() [all …]
|
H A D | fatalerrtest.c | 22 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()
|
H A D | dtlstest.c | 458 SSL *sssl = NULL, *cssl = NULL; in test_swap_epoch() local 486 if (!TEST_int_le(SSL_connect(cssl), 0)) in test_swap_epoch() 494 if (!TEST_int_le(SSL_connect(cssl), 0)) in test_swap_epoch() 497 bio = SSL_get_wbio(cssl); in test_swap_epoch() 513 if (!TEST_int_gt(SSL_connect(cssl), 0)) in test_swap_epoch() 518 SSL_free(cssl); in test_swap_epoch() 532 SSL *sssl = NULL, *cssl = NULL; in test_swap_app_data() local 560 if (!TEST_int_le(SSL_connect(cssl), 0)) in test_swap_app_data() 568 if (!TEST_int_le(SSL_connect(cssl), 0)) in test_swap_app_data() 588 if (!TEST_int_gt(SSL_connect(cssl), 0)) in test_swap_app_data() [all …]
|
H A D | sslapitest.c | 2260 static int post_handshake_verify(SSL *sssl, SSL *cssl) in post_handshake_verify() argument 2268 || !TEST_int_le(SSL_read(cssl, NULL, 0), 0) in post_handshake_verify() 2270 || !TEST_true(create_ssl_connection(sssl, cssl, in post_handshake_verify()
|
/openssl/test/helpers/ |
H A D | ssltestlib.h | 20 SSL **cssl, BIO *s_to_c_fbio, BIO *c_to_s_fbio); 24 SSL **cssl, int sfd, int cfd);
|
H A D | ssltestlib.c | 955 SSL **cssl, int sfd, int cfd) in create_ssl_objects2() argument 964 if (*cssl != NULL) in create_ssl_objects2() 965 clientssl = *cssl; in create_ssl_objects2() 976 *cssl = clientssl; in create_ssl_objects2() 992 SSL **cssl, BIO *s_to_c_fbio, BIO *c_to_s_fbio) in create_ssl_objects() argument 1001 if (*cssl != NULL) in create_ssl_objects() 1002 clientssl = *cssl; in create_ssl_objects() 1033 *cssl = clientssl; in create_ssl_objects()
|
Completed in 79 milliseconds