Lines Matching refs:cctx
52 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_quic_write_read() local
69 if (!TEST_ptr(cctx) in test_quic_write_read()
70 || !TEST_true(qtest_create_quic_objects(libctx, cctx, sctx, in test_quic_write_read()
202 SSL_CTX_free(cctx); in test_quic_write_read()
214 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_fin_only_blocking() local
228 if (!TEST_ptr(cctx) in test_fin_only_blocking()
229 || !TEST_true(qtest_create_quic_objects(libctx, cctx, sctx, in test_fin_only_blocking()
279 SSL_CTX_free(cctx); in test_fin_only_blocking()
346 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_cipher_find() local
365 if (!TEST_ptr(cctx)) in test_cipher_find()
368 clientquic = SSL_new(cctx); in test_cipher_find()
386 SSL_CTX_free(cctx); in test_cipher_find()
399 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_version() local
404 if (!TEST_ptr(cctx) in test_version()
405 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_version()
425 SSL_CTX_free(cctx); in test_version()
522 SSL_CTX *cctx = NULL; in test_ssl_trace() local
528 if (!TEST_ptr(cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method())) in test_ssl_trace()
530 || !TEST_true(SSL_CTX_set_ciphersuites(cctx, "TLS_AES_128_GCM_SHA256")) in test_ssl_trace()
531 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_ssl_trace()
558 SSL_CTX_free(cctx); in test_ssl_trace()
635 SSL_CTX *cctx = NULL; in test_new_token() local
645 if (!TEST_ptr(cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method())) in test_new_token()
647 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_new_token()
671 if (!TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_new_token()
695 SSL_CTX_free(cctx); in test_new_token()
982 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_bio_ssl() local
993 if (!TEST_ptr(cctx)) in test_bio_ssl()
996 cbio = BIO_new_ssl(cctx, 1); in test_bio_ssl()
1108 SSL_CTX_free(cctx); in test_bio_ssl()
1120 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_back_pressure() local
1130 if (!TEST_ptr(cctx) in test_back_pressure()
1131 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_back_pressure()
1173 SSL_CTX_free(cctx); in test_back_pressure()
1197 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_multiple_dgrams() local
1207 if (!TEST_ptr(cctx) in test_multiple_dgrams()
1209 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_multiple_dgrams()
1228 SSL_CTX_free(cctx); in test_multiple_dgrams()
1258 SSL_CTX *cctx; in test_non_io_retry() local
1267 cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_non_io_retry()
1268 if (!TEST_ptr(cctx)) in test_non_io_retry()
1271 SSL_CTX_set_cert_verify_callback(cctx, non_io_retry_cert_verify_cb, &allow); in test_non_io_retry()
1274 if (!TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, privkey, in test_non_io_retry()
1290 SSL_CTX_free(cctx); in test_non_io_retry()
1337 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_quic_psk() local
1342 if (!TEST_ptr(cctx) in test_quic_psk()
1344 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, NULL, in test_quic_psk()
1371 SSL_CTX_free(cctx); in test_quic_psk()
1381 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_client_auth() local
1391 if (!TEST_ptr(cctx) || !TEST_ptr(sctx)) in test_client_auth()
1401 && (!TEST_true(SSL_CTX_use_certificate_chain_file(cctx, ccert)) in test_client_auth()
1402 || !TEST_true(SSL_CTX_use_PrivateKey_file(cctx, cprivkey, in test_client_auth()
1406 if (!TEST_true(qtest_create_quic_objects(libctx, cctx, sctx, cert, in test_client_auth()
1412 if (!TEST_true(ssl_ctx_add_large_cert_chain(libctx, cctx, ccert)) in test_client_auth()
1457 SSL_CTX_free(cctx); in test_client_auth()
1469 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_alpn() local
1479 if (!TEST_true(SSL_CTX_set_ciphersuites(cctx, "TLS_AES_128_GCM_SHA256"))) in test_alpn()
1482 if (!TEST_ptr(cctx) in test_alpn()
1483 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_alpn()
1517 SSL_CTX_free(cctx); in test_alpn()
1527 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_get_shutdown() local
1532 if (!TEST_ptr(cctx) in test_get_shutdown()
1533 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_get_shutdown()
1563 SSL_CTX_free(cctx); in test_get_shutdown()
1634 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_noisy_dgram() local
1648 if (!TEST_ptr(cctx) in test_noisy_dgram()
1649 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_noisy_dgram()
1725 SSL_CTX_free(cctx); in test_noisy_dgram()
1740 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_bw_limit() local
1752 if (!TEST_ptr(cctx) in test_bw_limit()
1753 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_bw_limit()
1817 SSL_CTX_free(cctx); in test_bw_limit()
2353 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_session_cb() local
2358 if (!TEST_ptr(cctx)) in test_session_cb()
2363 SSL_CTX_sess_set_new_cb(cctx, new_session_cb); in test_session_cb()
2364 SSL_CTX_set_session_cache_mode(cctx, SSL_SESS_CACHE_CLIENT); in test_session_cb()
2366 if (!TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_session_cb()
2396 SSL_CTX_free(cctx); in test_session_cb()
2448 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_early_ticks() local
2455 if (!TEST_ptr(cctx) in test_early_ticks()
2456 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_early_ticks()
2488 SSL_CTX_free(cctx); in test_early_ticks()