ssl
jimmy_yuhai
jimmy_yuhai at 163.com
Thu Sep 25 22:21:54 EDT 2008
what are you planning to do? a test?
yours,
jimmy_yuhai
2008-09-26
发件人: Felipe Contreras
发送时间: 2008-09-26 00:04:58
收件人: Gizmo
抄送: devel at pidgin.im
主题: Re: ssl
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
_______________________________________________
Devel mailing list
Devel at pidgin.im
http://pidgin.im/cgi-bin/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20080926/6d608cba/attachment.html>
More information about the Devel
mailing list