changeset 27791:c72d171565c4

cert: Fix a reversed check. Oops.
author Paul Aurich <paul@darkrain42.org>
date Sat, 01 Aug 2009 18:51:02 +0000
parents 6187a40eea57
children 7a61ed46f632
files libpurple/certificate.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/certificate.c	Sat Aug 01 05:31:59 2009 +0000
+++ b/libpurple/certificate.c	Sat Aug 01 18:51:02 2009 +0000
@@ -1375,7 +1375,7 @@
 		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.