changeset 18967:cf3d2780138e

- Jabber now understands SSL_CERTIFICATE_INVALID code
author William Ehlhardt <williamehlhardt@gmail.com>
date Wed, 27 Jun 2007 04:29:24 +0000
parents a7808973dea8
children 1677ead39ee3
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Wed Jun 27 04:25:55 2007 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Wed Jun 27 04:29:24 2007 +0000
@@ -501,6 +501,9 @@
 		case PURPLE_SSL_HANDSHAKE_FAILED:
 			purple_connection_error(gc, _("SSL Handshake Failed"));
 			break;
+		case PURPLE_SSL_CERTIFICATE_INVALID:
+			purple_connection_error(gc, _("Peer presented invalid certificate"));
+			break;
 		default:
 			purple_connection_error(gc, _("Unknown SSL error"));
 	}