ssl

Gizmo gizmo.1983.pl at wp.pl
Thu Sep 25 11:49:32 EDT 2008


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."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pidgin.im/pipermail/devel/attachments/20080925/5b924975/attachment.htm 


More information about the Devel mailing list