pidgin: 3ac33e31: certificate: This comment threw me for a...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Jan 30 12:55:47 EST 2011


----------------------------------------------------------------------
Revision: 3ac33e317365417aff2244c57b8deaaeef7af84a
Parent:   69dc904f9835ca35580ab17cacbb7934fd971fbe
Author:   darkrain42 at pidgin.im
Date:     01/25/11 21:58:37
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3ac33e317365417aff2244c57b8deaaeef7af84a

Changelog: 

certificate: This comment threw me for a loop for a moment.

Changes against parent 69dc904f9835ca35580ab17cacbb7934fd971fbe

  patched  libpurple/certificate.c

-------------- next part --------------
============================================================
--- libpurple/certificate.c	d6096a8924a55019afc7783adf1d339d5ee7639a
+++ libpurple/certificate.c	cd16efb840d7939c18b71fb2f0cd535214d0ced6
@@ -1619,7 +1619,6 @@ x509_tls_cached_unknown_peer(PurpleCerti
 		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 @@ x509_tls_cached_unknown_peer(PurpleCerti
 		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 ) {


More information about the Commits mailing list