# HG changeset patch # User William Ehlhardt # Date 1182906583 0 # Node ID 6831c126bcf39c6df6d4b053dccca2f78d4fbc21 # Parent db67f6b39b7287aa69ed902efb160e319600f376 - Fixed an inverted assertion diff -r db67f6b39b72 -r 6831c126bcf3 libpurple/certificate.c --- a/libpurple/certificate.c Wed Jun 27 00:22:40 2007 +0000 +++ b/libpurple/certificate.c Wed Jun 27 01:09:43 2007 +0000 @@ -60,7 +60,7 @@ /* Check that at least the first cert in the chain matches the Verifier scheme */ - g_return_if_fail(scheme != + g_return_if_fail(scheme == ((PurpleCertificate *) (cert_chain->data))->scheme); /* Construct and fill in the request fields */