diff 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
line wrap: on
line diff
--- a/plugins/ssl/ssl-nss.c	Wed Oct 15 06:11:26 2003 +0000
+++ b/plugins/ssl/ssl-nss.c	Wed Oct 15 06:32:13 2003 +0000
@@ -204,6 +204,9 @@
 	{
 		gaim_debug_error("nss", "Handshake failed\n");
 
+		if (gsc->error_cb != NULL)
+			gsc->error_cb(gsc, GAIM_SSL_HANDSHAKE_FAILED, data);
+
 		gaim_ssl_close(gsc);
 
 		return;