diff options
Diffstat (limited to 'libempathy/empathy-tls-verifier.c')
-rw-r--r-- | libempathy/empathy-tls-verifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tls-verifier.c b/libempathy/empathy-tls-verifier.c index 55688f99c..75943bfbd 100644 --- a/libempathy/empathy-tls-verifier.c +++ b/libempathy/empathy-tls-verifier.c @@ -236,7 +236,7 @@ real_start_verification (EmpathyTLSVerifier *self) if (priv->trusted_ca_list->len > 0) { res = verify_last_certificate (self, - g_ptr_array_index (priv->cert_chain, num_certs), + g_ptr_array_index (priv->cert_chain, num_certs - 1), &reason); } |