Mercurial > pidgin
changeset 20747:17e605dd2de1
- Debugging babble in purple_verify_complete to tell final verification
result
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Tue, 02 Oct 2007 08:54:26 +0000 |
parents | 27f85efa6505 |
children | 9c226e074462 |
files | libpurple/certificate.c |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/certificate.c Tue Oct 02 08:45:17 2007 +0000 +++ b/libpurple/certificate.c Tue Oct 02 08:54:26 2007 +0000 @@ -88,6 +88,19 @@ g_return_if_fail(vrq); + if (st == PURPLE_CERTIFICATE_VALID) { + purple_debug_info("certificate", + "Successfully verified certificate for %s\n", + vrq->subject_name); + } else { + purple_debug_info("certificate", + "Failed to verify certificate for %s\n", + vrq->subject_name); + } + + + + /* Pass the results on to the request's callback */ (vrq->cb)(st, vrq->cb_data);