changeset 31619:78e68751cc40

certificate: This comment threw me for a loop for a moment.
author Paul Aurich <paul@darkrain42.org>
date Wed, 26 Jan 2011 02:58:37 +0000
parents 5567daeaa4b5
children e89df17f5ae7
files libpurple/certificate.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/certificate.c	Wed Jan 26 02:13:21 2011 +0000
+++ b/libpurple/certificate.c	Wed Jan 26 02:58:37 2011 +0000
@@ -1619,7 +1619,6 @@
 		return;
 	} /* if (self signed) */
 
-	/* Next, attempt to verify the last certificate against a CA */
 	ca = purple_certificate_find_pool(x509_tls_cached.scheme_name, "ca");
 
 	/* Next, check that the certificate chain is valid */
@@ -1669,6 +1668,7 @@
 		return;
 	} /* if (signature chain not good) */
 
+	/* Next, attempt to verify the last certificate against a CA */
 	/* If, for whatever reason, there is no Certificate Authority pool
 	   loaded, we'll verify the subject name and then warn about thsi. */
 	if ( !ca ) {