# HG changeset patch # User William Ehlhardt # Date 1186726871 0 # Node ID b98151ac2251a7b9487c4e21a423aaffc059ce57 # Parent 489889091b1435bf633a08247b5bfdbbb7a9b490 - purple_certificate_verify_destroy is deprecated and has met its end. diff -r 489889091b14 -r b98151ac2251 libpurple/certificate.c --- 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) { diff -r 489889091b14 -r b98151ac2251 libpurple/certificate.h --- 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