[empathy] add support for the errors introduced in spec 0.19.11



commit 617ccb69392445c4843b879ddc997885df81e8f8
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Aug 11 10:19:12 2010 +0200

    add support for the errors introduced in spec 0.19.11

 libempathy/empathy-utils.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index daf186c..82b1316 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -368,6 +368,15 @@ create_errors_to_message_hash (void)
 		_("The account already exists on the server"));
 	g_hash_table_insert (errors, TP_ERROR_STR_SERVICE_BUSY,
 		_("Server is currently too busy to handle the connection"));
+	g_hash_table_insert (errors, TP_ERROR_STR_CERT_REVOKED,
+		_("Certificate has been revoked"));
+	g_hash_table_insert (errors, TP_ERROR_STR_CERT_INSECURE,
+		_("Certificate uses an insecure cipher algorithm or is "
+		"cryptographically weak"));
+	g_hash_table_insert (errors, TP_ERROR_STR_CERT_LIMIT_EXCEEDED,
+		_("The length of the server certificate, or the depth of the "
+		"server certificate chain exceed the limits imposed by the "
+		"crypto library"));
 
 	return errors;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]