Home | History | Annotate | Download | only in apps

Lines Matching defs:ctx2

282 static SSL_CTX *ctx2=NULL;
438 ctx2=NULL;
750 if (ctx2)
753 SSL_set_SSL_CTX(s,ctx2);
1602 ctx2=SSL_CTX_new(meth);
1603 if (ctx2 == NULL)
1610 if (ctx2)
1622 if(!SSL_CTX_set_generate_session_id(ctx2, generate_session_id))
1630 SSL_CTX_set_quiet_shutdown(ctx2,1);
1631 if (bugs) SSL_CTX_set_options(ctx2,SSL_OP_ALL);
1632 if (hack) SSL_CTX_set_options(ctx2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG);
1633 SSL_CTX_set_options(ctx2,off);
1637 if (socket_type == SOCK_DGRAM) SSL_CTX_set_read_ahead(ctx2, 1);
1639 if (state) SSL_CTX_set_info_callback(ctx2,apps_ssl_info_callback);
1642 SSL_CTX_set_session_cache_mode(ctx2,SSL_SESS_CACHE_OFF);
1644 SSL_CTX_sess_set_cache_size(ctx2,128);
1646 if ((!SSL_CTX_load_verify_locations(ctx2,CAfile,CApath)) ||
1647 (!SSL_CTX_set_default_verify_paths(ctx2)))
1652 SSL_CTX_set1_param(ctx2, vpm);
1684 if (ctx2)
1698 SSL_CTX_set_tmp_dh(ctx2,dh);
1747 if (ctx2)
1748 SSL_CTX_set_tmp_ecdh(ctx2,ecdh);
1757 if (ctx2 && !set_cert_key_stuff(ctx2,s_cert2,s_key2))
1772 if (ctx2)
1773 SSL_CTX_set_tmp_rsa_callback(ctx2,tmp_rsa_cb);
1792 if (ctx2)
1794 if (!SSL_CTX_set_tmp_rsa(ctx2,rsa))
1836 if (ctx2 && !SSL_CTX_set_cipher_list(ctx2,cipher))
1853 if (ctx2)
1855 SSL_CTX_set_verify(ctx2,s_server_verify,verify_callback);
1856 SSL_CTX_set_session_id_context(ctx2,(void*)&s_server_session_id_context,
1860 SSL_CTX_set_tlsext_servername_callback(ctx2, ssl_servername_cb);
1861 SSL_CTX_set_tlsext_servername_arg(ctx2, &tlsextcbp);
1890 if (ctx2)
1891 SSL_CTX_set_client_CA_list(ctx2,SSL_load_client_CA_file(CAfile));
1926 if (ctx2 != NULL) SSL_CTX_free(ctx2);