Lines Matching refs:c_ctx
907 SSL_CTX *c_ctx = NULL; in main() local
1399 c_ctx = SSL_CTX_new_ex(libctx, NULL, meth); in main()
1402 if ((c_ctx == NULL) || (s_ctx == NULL) || (s_ctx2 == NULL)) { 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()
1420 if (SSL_CTX_set_min_proto_version(c_ctx, min_version) == 0) in main()
1422 if (SSL_CTX_set_max_proto_version(c_ctx, max_version) == 0) in main()
1431 if (!SSL_CTX_set_cipher_list(c_ctx, cipher)) { in main()
1470 if (!SSL_CTX_set_cipher_list(c_ctx, cipher) in main()
1479 if (!SSL_CTX_set_ciphersuites(c_ctx, ciphersuites) in main()
1489 !SSL_CTX_enable_ct(c_ctx, SSL_CT_VALIDATION_STRICT)) { 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()
1555 || SSL_CTX_load_verify_dir(c_ctx, CApath)) 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()
1583 SSL_CTX_set_verify(c_ctx, SSL_VERIFY_PEER, verify_callback); in main()
1584 SSL_CTX_set_cert_verify_callback(c_ctx, app_verify_callback, in main()
1613 SSL_CTX_set_psk_client_callback(c_ctx, psk_client_callback); in main()
1629 SSL_CTX_set_next_proto_select_cb(c_ctx, cb_client_npn, NULL); in main()
1647 if (!SSL_CTX_add_client_custom_ext(c_ctx, in main()
1656 if (!SSL_CTX_add_client_custom_ext(c_ctx, TACK_EXT_TYPE, in main()
1671 if (!SSL_CTX_add_client_custom_ext(c_ctx, CUSTOM_EXT_TYPE_0, in main()
1675 || !SSL_CTX_add_client_custom_ext(c_ctx, CUSTOM_EXT_TYPE_1, in main()
1679 || !SSL_CTX_add_client_custom_ext(c_ctx, CUSTOM_EXT_TYPE_2, in main()
1683 || !SSL_CTX_add_client_custom_ext(c_ctx, CUSTOM_EXT_TYPE_3, in main()
1738 if (SSL_CTX_set_alpn_protos(c_ctx, alpn, alpn_len)) { in main()
1773 c_ssl = SSL_new(c_ctx); in main()
1912 SSL_CTX_free(c_ctx); in main()