Mercurial > pidgin.yaz
diff libpurple/certificate.c @ 19092:b98151ac2251
- purple_certificate_verify_destroy is deprecated and has met its end.
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Fri, 10 Aug 2007 06:21:11 +0000 |
parents | 489889091b14 |
children | f96b53df8d17 |
line wrap: on
line diff
--- a/libpurple/certificate.c Fri Aug 10 05:51:44 2007 +0000 +++ b/libpurple/certificate.c Fri Aug 10 06:21:11 2007 +0000 @@ -80,26 +80,6 @@ } void -purple_certificate_verify_destroy (PurpleCertificateVerificationRequest *vrq) -{ - PurpleCertificateVerifier *vr; - - if (NULL == vrq) return; - - /* Fetch the Verifier responsible... */ - vr = vrq->verifier; - /* ...and order it to KILL */ - (vr->destroy_request)(vrq); - - /* Now the internals have been cleaned up, so clean up the libpurple- - created elements */ - g_free(vrq->subject_name); - purple_certificate_destroy_list(vrq->cert_chain); - - g_free(vrq); -} - -void purple_certificate_verify_complete(PurpleCertificateVerificationRequest *vrq, PurpleCertificateVerificationStatus st) {