aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tls-verifier.c
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2010-12-14 01:42:15 +0800
committerStef Walter <stefw@collabora.co.uk>2010-12-24 21:40:02 +0800
commit14baa8d05d72d94431b3422bf455835bd065707e (patch)
treee98bc811651d4c04ca09e413e2c96dc4e769af31 /libempathy/empathy-tls-verifier.c
parentc9562e1613eac9ded3a3e211dbd2e5420a46602b (diff)
downloadgsoc2013-empathy-14baa8d05d72d94431b3422bf455835bd065707e.tar
gsoc2013-empathy-14baa8d05d72d94431b3422bf455835bd065707e.tar.gz
gsoc2013-empathy-14baa8d05d72d94431b3422bf455835bd065707e.tar.bz2
gsoc2013-empathy-14baa8d05d72d94431b3422bf455835bd065707e.tar.lz
gsoc2013-empathy-14baa8d05d72d94431b3422bf455835bd065707e.tar.xz
gsoc2013-empathy-14baa8d05d72d94431b3422bf455835bd065707e.tar.zst
gsoc2013-empathy-14baa8d05d72d94431b3422bf455835bd065707e.zip
libempathy, tests: Wrap new function arguments properly.
https://bugzilla.gnome.org/show_bug.cgi?id=636258#c3
Diffstat (limited to 'libempathy/empathy-tls-verifier.c')
-rw-r--r--libempathy/empathy-tls-verifier.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/libempathy/empathy-tls-verifier.c b/libempathy/empathy-tls-verifier.c
index 2f33afad2..c7460e15f 100644
--- a/libempathy/empathy-tls-verifier.c
+++ b/libempathy/empathy-tls-verifier.c
@@ -113,8 +113,10 @@ verification_output_to_reason (gint res,
static void
build_certificate_list_for_gnutls (GcrCertificateChain *chain,
- gnutls_x509_crt_t **list, guint *n_list,
- gnutls_x509_crt_t **anchors, guint *n_anchors)
+ gnutls_x509_crt_t **list,
+ guint *n_list,
+ gnutls_x509_crt_t **anchors,
+ guint *n_anchors)
{
GcrCertificate *cert;
guint idx, length;
@@ -173,7 +175,8 @@ build_certificate_list_for_gnutls (GcrCertificateChain *chain,
}
static void
-free_certificate_list_for_gnutls (gnutls_x509_crt_t *list, guint n_list)
+free_certificate_list_for_gnutls (gnutls_x509_crt_t *list,
+ guint n_list)
{
guint idx;
@@ -237,7 +240,8 @@ debug_certificate_chain (GcrCertificateChain *chain)
}
static void
-perform_verification (EmpathyTLSVerifier *self, GcrCertificateChain *chain)
+perform_verification (EmpathyTLSVerifier *self,
+ GcrCertificateChain *chain)
{
gboolean ret = FALSE;
EmpTLSCertificateRejectReason reason =
@@ -312,7 +316,9 @@ perform_verification (EmpathyTLSVerifier *self, GcrCertificateChain *chain)
}
static void
-perform_verification_cb (GObject *object, GAsyncResult *res, gpointer user_data)
+perform_verification_cb (GObject *object,
+ GAsyncResult *res,
+ gpointer user_data)
{
GError *error = NULL;