Mercurial > pidgin.yaz
comparison plugins/ssl/ssl-nss.c @ 7274:448e39ace278
[gaim-migrate @ 7851]
Added a parameter to gaim_ssl_connect() to specify an optional error
callback. MSN takes advantage of it, but since I can't reproduce the errors
here, I'm not positive it works. It should though! Famous last words.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 15 Oct 2003 06:32:13 +0000 |
parents | fae7cfe975fd |
children | f9ed27be344e |
comparison
equal
deleted
inserted
replaced
7273:d152ea377e4a | 7274:448e39ace278 |
---|---|
202 | 202 |
203 if (SSL_ForceHandshake(nss_data->in)) | 203 if (SSL_ForceHandshake(nss_data->in)) |
204 { | 204 { |
205 gaim_debug_error("nss", "Handshake failed\n"); | 205 gaim_debug_error("nss", "Handshake failed\n"); |
206 | 206 |
207 if (gsc->error_cb != NULL) | |
208 gsc->error_cb(gsc, GAIM_SSL_HANDSHAKE_FAILED, data); | |
209 | |
207 gaim_ssl_close(gsc); | 210 gaim_ssl_close(gsc); |
208 | 211 |
209 return; | 212 return; |
210 } | 213 } |
211 | 214 |