aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-auth-helper.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/empathy-auth-helper.c b/src/empathy-auth-helper.c
index db22327fc..aaee48ec1 100644
--- a/src/empathy-auth-helper.c
+++ b/src/empathy-auth-helper.c
@@ -38,7 +38,16 @@ auth_factory_new_handler_cb (EmpathyAuthFactory *factory,
EmpathyServerTLSHandler *handler,
gpointer user_data)
{
+ EmpathyTLSCertificate *certificate;
+
DEBUG ("New TLS server handler received from the factory");
+
+ certificate = g_object_ref (
+ empathy_server_tls_handler_get_certificate (handler));
+
+ empathy_tls_certificate_accept (certificate);
+
+ g_object_unref (certificate);
}
int