pidgin: 938f0bfb: cert: Fix a reversed check. Oops.

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Aug 2 01:41:19 EDT 2009


-----------------------------------------------------------------
Revision: 938f0bfb7e234aa40d9a86516142a372fa47ce40
Ancestor: 480b2999de4ec2bf5af6fdcc0ee2089f98c395d5
Author: darkrain42 at pidgin.im
Date: 2009-08-01T18:51:02
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/938f0bfb7e234aa40d9a86516142a372fa47ce40

Modified files:
        libpurple/certificate.c

ChangeLog: 

cert: Fix a reversed check. Oops.

-------------- next part --------------
============================================================
--- libpurple/certificate.c	5d576889c288080437af8bd20d99b9aad2629bb4
+++ libpurple/certificate.c	682b08510d3cc79a513fa6f279756579bcc48e18
@@ -1375,7 +1375,7 @@ x509_tls_cached_check_subject_name(Purpl
 		return;
 	} /* if (name mismatch) */
 
-	if (had_ca_pool) {
+	if (!had_ca_pool) {
 		/* The subject name is correct, but we weren't able to verify the
 		 * chain because there was no pool of root CAs found. Prompt the user
 		 * to validate it.


More information about the Commits mailing list