changeset 18982:8948cd6bb8bc

- CertificatePool put_cert now accepts an id argument
author William Ehlhardt <williamehlhardt@gmail.com>
date Thu, 05 Jul 2007 04:58:11 +0000
parents d68bf68ad499
children bb4acabd8fac
files libpurple/certificate.c libpurple/certificate.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/certificate.c	Mon Jul 02 17:18:49 2007 +0000
+++ b/libpurple/certificate.c	Thu Jul 05 04:58:11 2007 +0000
@@ -299,7 +299,7 @@
 }
 
 static gboolean
-x509_tls_peers_put_cert(PurpleCertificate *crt)
+x509_tls_peers_put_cert(const gchar *id, PurpleCertificate *crt)
 {
 	g_return_val_if_fail(crt, FALSE);
 
--- a/libpurple/certificate.h	Mon Jul 02 17:18:49 2007 +0000
+++ b/libpurple/certificate.h	Thu Jul 05 04:58:11 2007 +0000
@@ -114,7 +114,7 @@
 	 *  certificates sharing the same ID in the pool.
 	 *  @return TRUE if the operation succeeded, otherwise FALSE
 	 */
-	gboolean (* put_cert)(PurpleCertificate *crt);
+	gboolean (* put_cert)(const gchar *id, PurpleCertificate *crt);
 };
 
 /** A certificate type