aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tls-verifier.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-tls-verifier.c b/libempathy/empathy-tls-verifier.c
index 057c412f5..2f98d9364 100644
--- a/libempathy/empathy-tls-verifier.c
+++ b/libempathy/empathy-tls-verifier.c
@@ -260,6 +260,9 @@ perform_verification (EmpathyTLSVerifier *self,
DEBUG ("Performing verification");
debug_certificate_chain (chain);
+ list = anchors = NULL;
+ n_list = n_anchors = 0;
+
/*
* If the first certificate is an pinned certificate then we completely
* ignore the rest of the verification process.