aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-auth-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-auth-helper.c')
-rw-r--r--src/empathy-auth-helper.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/empathy-auth-helper.c b/src/empathy-auth-helper.c
index 7ed4596c2..b2ea4ebc0 100644
--- a/src/empathy-auth-helper.c
+++ b/src/empathy-auth-helper.c
@@ -60,9 +60,10 @@ tls_dialog_response_cb (GtkDialog *dialog,
gtk_widget_destroy (GTK_WIDGET (dialog));
if (response_id == GTK_RESPONSE_YES)
- empathy_tls_certificate_accept (certificate);
+ empathy_tls_certificate_accept_async (certificate, NULL, NULL);
else
- empathy_tls_certificate_reject (certificate, reason, TRUE);
+ empathy_tls_certificate_reject_async (certificate, reason, TRUE,
+ NULL, NULL);
if (remember)
empathy_tls_certificate_store_ca (certificate);
@@ -109,7 +110,7 @@ verifier_verify_cb (GObject *source,
}
else
{
- empathy_tls_certificate_accept (certificate);
+ empathy_tls_certificate_accept_async (certificate, NULL, NULL);
}
g_object_unref (certificate);