[empathy] Create GTalk accounts with extra-certificate-identities = 'talk.google.com'



commit 6cd0e1c0916e69eb15192c6bdbf1b5d7ee599f5a
Author: Stef Walter <stefw collabora co uk>
Date:   Fri Mar 18 14:38:10 2011 +0100

    Create GTalk accounts with extra-certificate-identities = 'talk.google.com'
    
    When creating google talk accounts, allow 'talk.google.com' as an extra
    identity for server certificate validation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645133

 libempathy-gtk/empathy-protocol-chooser.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c
index 6e6b8bb..9bbab1c 100644
--- a/libempathy-gtk/empathy-protocol-chooser.c
+++ b/libempathy-gtk/empathy-protocol-chooser.c
@@ -594,11 +594,18 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self)
           "talkx.l.google.com:80",
           NULL};
 
+      gchar *extra_certificate_identities[] = {
+          "talk.google.com",
+          NULL};
+
       empathy_account_settings_set_icon_name_async (settings, "im-google-talk",
           NULL, NULL);
 
       empathy_account_settings_set_strv (settings, "fallback-servers",
           fallback_servers);
+
+      empathy_account_settings_set_strv (settings,
+          "extra-certificate-identities", extra_certificate_identities);
     }
   else if (!tp_strdiff (service, "facebook"))
     {



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