Mercurial > pidgin
comparison src/protocols/silc/silc.c @ 10751:bf5e48215158
[gaim-migrate @ 12354]
Get rid of serv_finish_login because it's dumb.
Also fix some problems with gg and silc that I introduced yesterday.
I didn't grep for places where account->password was accessed
directly.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 27 Mar 2005 17:50:35 +0000 |
parents | c4cb90065e1d |
children | 39b5a5e30f47 |
comparison
equal
deleted
inserted
replaced
10750:d5a00882d118 | 10751:bf5e48215158 |
---|---|
301 gaim_connection_update_progress(gc, _("Connecting to SILC Server"), 1, 5); | 301 gaim_connection_update_progress(gc, _("Connecting to SILC Server"), 1, 5); |
302 | 302 |
303 /* Load SILC key pair */ | 303 /* Load SILC key pair */ |
304 if (!silc_load_key_pair(gaim_prefs_get_string("/plugins/prpl/silc/pubkey"), | 304 if (!silc_load_key_pair(gaim_prefs_get_string("/plugins/prpl/silc/pubkey"), |
305 gaim_prefs_get_string("/plugins/prpl/silc/privkey"), | 305 gaim_prefs_get_string("/plugins/prpl/silc/privkey"), |
306 (account->password == NULL) ? "" : account->password, &client->pkcs, | 306 (gc->password == NULL) ? "" : gc->password, &client->pkcs, |
307 &client->public_key, &client->private_key)) { | 307 &client->public_key, &client->private_key)) { |
308 gaim_connection_error(gc, ("Could not load SILC key pair")); | 308 gaim_connection_error(gc, ("Could not load SILC key pair")); |
309 return; | 309 return; |
310 } | 310 } |
311 | 311 |