Home | History | Annotate | Download | only in test

Lines Matching refs:c_ctx

902     SSL_CTX *c_ctx = NULL;
1393 c_ctx = SSL_CTX_new(meth);
1396 if ((c_ctx == NULL) || (s_ctx == NULL) || (s_ctx2 == NULL)) {
1405 SSL_CTX_set_security_level(c_ctx, 0);
1410 SSL_CTX_set_options(c_ctx, SSL_OP_NO_TICKET);
1414 if (SSL_CTX_set_min_proto_version(c_ctx, min_version) == 0)
1416 if (SSL_CTX_set_max_proto_version(c_ctx, max_version) == 0)
1425 if (!SSL_CTX_set_cipher_list(c_ctx, cipher)) {
1464 if (!SSL_CTX_set_cipher_list(c_ctx, cipher)
1473 if (!SSL_CTX_set_ciphersuites(c_ctx, ciphersuites)
1483 !SSL_CTX_enable_ct(c_ctx, SSL_CT_VALIDATION_STRICT)) {
1490 SSL_CONF_CTX_set_ssl_ctx(c_cctx, c_ctx);
1542 (!SSL_CTX_load_verify_locations(c_ctx, CAfile, CApath)) ||
1543 (!SSL_CTX_set_default_verify_paths(c_ctx))) {
1550 !SSL_CTX_set_default_ctlog_list_file(c_ctx)) {
1570 SSL_CTX_set_verify(c_ctx, SSL_VERIFY_PEER, verify_callback);
1571 SSL_CTX_set_cert_verify_callback(c_ctx, app_verify_callback,
1600 SSL_CTX_set_psk_client_callback(c_ctx, psk_client_callback);
1616 SSL_CTX_set_next_proto_select_cb(c_ctx, cb_client_npn, NULL);
1634 if (!SSL_CTX_add_client_custom_ext(c_ctx,
1643 if (!SSL_CTX_add_client_custom_ext(c_ctx, TACK_EXT_TYPE,
1658 if (!SSL_CTX_add_client_custom_ext(c_ctx, CUSTOM_EXT_TYPE_0,
1662 || !SSL_CTX_add_client_custom_ext(c_ctx, CUSTOM_EXT_TYPE_1,
1666 || !SSL_CTX_add_client_custom_ext(c_ctx, CUSTOM_EXT_TYPE_2,
1670 || !SSL_CTX_add_client_custom_ext(c_ctx, CUSTOM_EXT_TYPE_3,
1725 if (SSL_CTX_set_alpn_protos(c_ctx, alpn, alpn_len)) {
1758 c_ssl = SSL_new(c_ctx);
1892 SSL_CTX_free(c_ctx);