diff -r 086aa4d8d4a4 -r a47820a26c93 libpurple/certificate.c --- 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.