Mercurial > pidgin
comparison libpurple/certificate.c @ 18960:6831c126bcf3
- Fixed an inverted assertion
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Wed, 27 Jun 2007 01:09:43 +0000 |
parents | 9205841eed06 |
children | fcd05c39803e |
comparison
equal
deleted
inserted
replaced
18958:db67f6b39b72 | 18960:6831c126bcf3 |
---|---|
58 scheme = purple_certificate_find_scheme(verifier->scheme_name); | 58 scheme = purple_certificate_find_scheme(verifier->scheme_name); |
59 g_return_if_fail(scheme); | 59 g_return_if_fail(scheme); |
60 | 60 |
61 /* Check that at least the first cert in the chain matches the | 61 /* Check that at least the first cert in the chain matches the |
62 Verifier scheme */ | 62 Verifier scheme */ |
63 g_return_if_fail(scheme != | 63 g_return_if_fail(scheme == |
64 ((PurpleCertificate *) (cert_chain->data))->scheme); | 64 ((PurpleCertificate *) (cert_chain->data))->scheme); |
65 | 65 |
66 /* Construct and fill in the request fields */ | 66 /* Construct and fill in the request fields */ |
67 vrq = g_new0(PurpleCertificateVerificationRequest, 1); | 67 vrq = g_new0(PurpleCertificateVerificationRequest, 1); |
68 vrq->verifier = verifier; | 68 vrq->verifier = verifier; |