diff options
author | Stef Walter <stefw@collabora.co.uk> | 2010-12-14 01:42:15 +0800 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2010-12-24 21:40:02 +0800 |
commit | 14baa8d05d72d94431b3422bf455835bd065707e (patch) | |
tree | e98bc811651d4c04ca09e413e2c96dc4e769af31 /libempathy/empathy-tls-verifier.c | |
parent | c9562e1613eac9ded3a3e211dbd2e5420a46602b (diff) | |
download | gsoc2013-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.c | 16 |
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; |