aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-08-12 00:33:08 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2010-08-13 22:22:23 +0800
commit6a16791dc335fed6706352e1612893f312a80a3f (patch)
tree88dc6fa0ea813f5c6b53f6819e075146cd73c178 /src
parent2f63c0828065d86239a6ff6ebbb8b07ddc929046 (diff)
downloadgsoc2013-empathy-6a16791dc335fed6706352e1612893f312a80a3f.tar
gsoc2013-empathy-6a16791dc335fed6706352e1612893f312a80a3f.tar.gz
gsoc2013-empathy-6a16791dc335fed6706352e1612893f312a80a3f.tar.bz2
gsoc2013-empathy-6a16791dc335fed6706352e1612893f312a80a3f.tar.lz
gsoc2013-empathy-6a16791dc335fed6706352e1612893f312a80a3f.tar.xz
gsoc2013-empathy-6a16791dc335fed6706352e1612893f312a80a3f.tar.zst
gsoc2013-empathy-6a16791dc335fed6706352e1612893f312a80a3f.zip
Add EmpathyTLSVerifier
This also introduces a dependency on GnuTLS
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