From 617ccb69392445c4843b879ddc997885df81e8f8 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 11 Aug 2010 10:19:12 +0200 Subject: add support for the errors introduced in spec 0.19.11 --- libempathy/empathy-utils.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libempathy') diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c index daf186c10..82b13161d 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; } -- cgit v1.2.3