Lines Matching refs:cctx

51     SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method());  in test_quic_write_read()  local
68 if (!TEST_ptr(cctx) in test_quic_write_read()
69 || !TEST_true(qtest_create_quic_objects(libctx, cctx, sctx, in test_quic_write_read()
201 SSL_CTX_free(cctx); in test_quic_write_read()
213 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_fin_only_blocking() local
227 if (!TEST_ptr(cctx) in test_fin_only_blocking()
228 || !TEST_true(qtest_create_quic_objects(libctx, cctx, sctx, in test_fin_only_blocking()
278 SSL_CTX_free(cctx); in test_fin_only_blocking()
345 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_cipher_find() local
364 if (!TEST_ptr(cctx)) in test_cipher_find()
367 clientquic = SSL_new(cctx); in test_cipher_find()
385 SSL_CTX_free(cctx); in test_cipher_find()
398 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_version() local
403 if (!TEST_ptr(cctx) in test_version()
404 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_version()
424 SSL_CTX_free(cctx); in test_version()
513 SSL_CTX *cctx = NULL; in test_ssl_trace() local
519 if (!TEST_ptr(cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method())) in test_ssl_trace()
521 || !TEST_true(SSL_CTX_set_ciphersuites(cctx, "TLS_AES_128_GCM_SHA256")) in test_ssl_trace()
522 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_ssl_trace()
549 SSL_CTX_free(cctx); in test_ssl_trace()
836 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_bio_ssl() local
847 if (!TEST_ptr(cctx)) in test_bio_ssl()
850 cbio = BIO_new_ssl(cctx, 1); in test_bio_ssl()
961 SSL_CTX_free(cctx); in test_bio_ssl()
973 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_back_pressure() local
983 if (!TEST_ptr(cctx) in test_back_pressure()
984 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_back_pressure()
1026 SSL_CTX_free(cctx); in test_back_pressure()
1050 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_multiple_dgrams() local
1060 if (!TEST_ptr(cctx) in test_multiple_dgrams()
1062 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_multiple_dgrams()
1081 SSL_CTX_free(cctx); in test_multiple_dgrams()
1111 SSL_CTX *cctx; in test_non_io_retry() local
1120 cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_non_io_retry()
1121 if (!TEST_ptr(cctx)) in test_non_io_retry()
1124 SSL_CTX_set_cert_verify_callback(cctx, non_io_retry_cert_verify_cb, &allow); in test_non_io_retry()
1127 if (!TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, privkey, in test_non_io_retry()
1143 SSL_CTX_free(cctx); in test_non_io_retry()
1191 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_quic_psk() local
1196 if (!TEST_ptr(cctx) in test_quic_psk()
1198 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, NULL, in test_quic_psk()
1226 SSL_CTX_free(cctx); in test_quic_psk()
1236 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_client_auth() local
1246 if (!TEST_ptr(cctx) || !TEST_ptr(sctx)) in test_client_auth()
1256 && (!TEST_true(SSL_CTX_use_certificate_chain_file(cctx, ccert)) in test_client_auth()
1257 || !TEST_true(SSL_CTX_use_PrivateKey_file(cctx, cprivkey, in test_client_auth()
1261 if (!TEST_true(qtest_create_quic_objects(libctx, cctx, sctx, cert, in test_client_auth()
1267 if (!TEST_true(ssl_ctx_add_large_cert_chain(libctx, cctx, ccert)) in test_client_auth()
1312 SSL_CTX_free(cctx); in test_client_auth()
1324 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_alpn() local
1334 if (!TEST_true(SSL_CTX_set_ciphersuites(cctx, "TLS_AES_128_GCM_SHA256"))) in test_alpn()
1337 if (!TEST_ptr(cctx) in test_alpn()
1338 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_alpn()
1372 SSL_CTX_free(cctx); in test_alpn()
1382 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_get_shutdown() local
1387 if (!TEST_ptr(cctx) in test_get_shutdown()
1388 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_get_shutdown()
1418 SSL_CTX_free(cctx); in test_get_shutdown()
1489 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_noisy_dgram() local
1503 if (!TEST_ptr(cctx) in test_noisy_dgram()
1504 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_noisy_dgram()
1580 SSL_CTX_free(cctx); in test_noisy_dgram()
1595 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_bw_limit() local
1607 if (!TEST_ptr(cctx) in test_bw_limit()
1608 || !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_bw_limit()
1672 SSL_CTX_free(cctx); in test_bw_limit()
2211 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()); in test_session_cb() local
2216 if (!TEST_ptr(cctx)) in test_session_cb()
2221 SSL_CTX_sess_set_new_cb(cctx, new_session_cb); in test_session_cb()
2222 SSL_CTX_set_session_cache_mode(cctx, SSL_SESS_CACHE_CLIENT); in test_session_cb()
2224 if (!TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, in test_session_cb()
2254 SSL_CTX_free(cctx); in test_session_cb()