Home
last modified time | relevance | path

Searched refs:c_ctx (Results 1 – 6 of 6) sorted by relevance

/openssl/test/
H A Dquic_client_test.c38 SSL_CTX *c_ctx = NULL; in test_quic_client_ex() local
74 if (!TEST_ptr(c_ctx = SSL_CTX_new(OSSL_QUIC_client_method()))) in test_quic_client_ex()
77 if (!TEST_ptr(c_ssl = SSL_new(c_ctx))) in test_quic_client_ex()
165 SSL_CTX_free(c_ctx); in test_quic_client_ex()
H A Dssl_old_test.c907 SSL_CTX *c_ctx = NULL; in main() local
1399 c_ctx = SSL_CTX_new_ex(libctx, NULL, meth); in main()
1411 SSL_CTX_set_security_level(c_ctx, 0); in main()
1416 SSL_CTX_set_options(c_ctx, SSL_OP_NO_TICKET); in main()
1496 SSL_CONF_CTX_set_ssl_ctx(c_cctx, c_ctx); in main()
1554 || !(SSL_CTX_load_verify_file(c_ctx, CAfile) in main()
1556 || !SSL_CTX_set_default_verify_paths(c_ctx)) { in main()
1563 !SSL_CTX_set_default_ctlog_list_file(c_ctx)) { in main()
1647 if (!SSL_CTX_add_client_custom_ext(c_ctx, in main()
1773 c_ssl = SSL_new(c_ctx); in main()
[all …]
H A Dquic_tserver_test.c66 SSL_CTX *c_ctx = NULL; in do_test() local
160 if (!TEST_ptr(c_ctx = SSL_CTX_new(use_thread_assist in do_test()
165 if (!TEST_ptr(c_ssl = SSL_new(c_ctx))) in do_test()
386 SSL_CTX_free(c_ctx); in do_test()
H A Dquicapitest.c2128 SSL_CTX *c_ctx = NULL; in test_tparam() local
2136 if (!TEST_ptr(c_ctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()))) in test_tparam()
2139 if (!TEST_true(qtest_create_quic_objects(libctx, c_ctx, NULL, cert, in test_tparam()
2184 SSL_CTX_free(c_ctx); in test_tparam()
H A Dquic_multistream_test.c68 SSL_CTX *c_ctx; member
662 SSL_CTX_free(h->c_ctx); in helper_cleanup()
663 h->c_ctx = NULL; in helper_cleanup()
786 if (!TEST_ptr(h->c_ctx = SSL_CTX_new(OSSL_QUIC_client_method()))) in helper_init()
791 if (!TEST_true(ossl_quic_set_diag_title(h->c_ctx, title))) in helper_init()
794 if (!TEST_ptr(h->c_conn = SSL_new(h->c_ctx))) in helper_init()
5078 SSL_CTX_set_session_cache_mode(h->c_ctx, SSL_SESS_CACHE_BOTH); in setup_session()
5079 SSL_CTX_sess_set_new_cb(h->c_ctx, on_new_session); in setup_session()
/openssl/crypto/evp/
H A Dbio_enc.c302 EVP_CIPHER_CTX **c_ctx; in enc_ctrl() local
378 c_ctx = (EVP_CIPHER_CTX **)ptr; in enc_ctrl()
379 *c_ctx = ctx->cipher; in enc_ctrl()

Completed in 56 milliseconds