Mercurial > pidgin
changeset 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 |
files | libpurple/certificate.c libpurple/certificate.h |
diffstat | 2 files changed, 0 insertions(+), 29 deletions(-) [+] |
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) {
--- a/libpurple/certificate.h Fri Aug 10 05:51:44 2007 +0000 +++ b/libpurple/certificate.h Fri Aug 10 06:21:11 2007 +0000 @@ -361,15 +361,6 @@ gpointer cb_data); /** - * Disposes of a VerificationRequest once it is complete - * - * @param vrq Request to destroy. Will be free()'d. - * The certificate chain involved will also be destroyed. - */ -void -purple_certificate_verify_destroy (PurpleCertificateVerificationRequest *vrq); - -/** * Completes and destroys a VerificationRequest * * @param vrq Request to conclude