ssl

Felipe Contreras felipe.contreras at gmail.com
Thu Sep 25 12:04:38 EDT 2008


2008/9/25 Gizmo <gizmo.1983.pl at wp.pl>:
> I wrote this:
>
>    purple_account_set_username( account, sz_JABBER_ID );
>    purple_account_set_password ( account, sz_JABBER_PW );
>    purple_account_set_string( account, "connect_server", "jabber.org" );
>    purple_account_set_int( account, "port", 5222 );
>    purple_account_set_bool( account, "require_tls", TRUE );
>    purple_account_set_bool( account, "old_ssl", FALSE );
>    purple_account_set_bool( account, "auth_plain_in_clear", FALSE );
>    purple_account_set_string( account, "ft_proxies", "proxy.jabber.org" );
>    purple_account_set_enabled( account, UI_ID, TRUE );
>
>    PurpleSslConnection *gsc =_purple_ssl_connect( account, "jabber.org",
> 5222, login_connect_cb, login_error_cb, 0);
>    purple_ssl_input_add( gsc, psif, 0 );
>    purple_account_connect( account);
>    PurpleConnection *pc = _purple_account_get_connection( account);
>    if ( pc ) {
>     purple_connection_set_account( pc, account);
>     pc->prpl = p_xmpp;
>    }
>
> And I become error "You require encryption, but no TLS/SSL support found."

Do you have the ssl plugin?

-- 
Felipe Contreras




More information about the Devel mailing list