aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-11 16:19:12 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-11 18:19:44 +0800
commit617ccb69392445c4843b879ddc997885df81e8f8 (patch)
tree2e9843a665017082ad65c053e20d224c85f825c0 /libempathy
parentde947130fc39cc6168f18b87b82707a529094e2f (diff)
downloadgsoc2013-empathy-617ccb69392445c4843b879ddc997885df81e8f8.tar
gsoc2013-empathy-617ccb69392445c4843b879ddc997885df81e8f8.tar.gz
gsoc2013-empathy-617ccb69392445c4843b879ddc997885df81e8f8.tar.bz2
gsoc2013-empathy-617ccb69392445c4843b879ddc997885df81e8f8.tar.lz
gsoc2013-empathy-617ccb69392445c4843b879ddc997885df81e8f8.tar.xz
gsoc2013-empathy-617ccb69392445c4843b879ddc997885df81e8f8.tar.zst
gsoc2013-empathy-617ccb69392445c4843b879ddc997885df81e8f8.zip
add support for the errors introduced in spec 0.19.11
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-utils.c9
1 files changed, 9 insertions, 0 deletions
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;
}