changeset 16668:07cf49a0f404

I _think_ this is it for libpurple's padding...
author Gary Kramlich <grim@reaperworld.com>
date Mon, 30 Apr 2007 00:09:25 +0000
parents a338acd14365
children 30829e806dae
files libpurple/cipher.c libpurple/example/nullclient.c
diffstat 2 files changed, 40 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/cipher.c	Mon Apr 30 00:01:57 2007 +0000
+++ b/libpurple/cipher.c	Mon Apr 30 00:09:25 2007 +0000
@@ -339,7 +339,13 @@
 	NULL,			/* set salt */
 	NULL,			/* get salt size */
 	NULL,			/* set key */
-	NULL			/* get key size */
+	NULL,			/* get key size */
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 /*******************************************************************************
@@ -588,7 +594,13 @@
 	NULL,                   /* set salt */
 	NULL,                   /* get salt size */
 	NULL,                   /* set key */
-	NULL                    /* get key size */
+	NULL,                   /* get key size */
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 /******************************************************************************
@@ -1006,7 +1018,13 @@
 	NULL,                   /* set salt */
 	NULL,                   /* get salt size */
 	des_set_key,		/* set key */
-	NULL                    /* get key size */
+	NULL,                   /* get key size */
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 
@@ -1247,7 +1265,13 @@
 	NULL,			/* set salt			*/
 	NULL,			/* get salt size	*/
 	NULL,			/* set key			*/
-	NULL			/* get key size		*/
+	NULL,			/* get key size		*/
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 /*******************************************************************************
--- a/libpurple/example/nullclient.c	Mon Apr 30 00:01:57 2007 +0000
+++ b/libpurple/example/nullclient.c	Mon Apr 30 00:09:25 2007 +0000
@@ -107,6 +107,12 @@
 	g_source_remove,
 	glib_input_add,
 	g_source_remove,
+	NULL,
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
 	NULL
 };
 /*** End of the eventloop functions. ***/
@@ -149,6 +155,12 @@
 	NULL,
 	NULL,
 	null_ui_init,
+	NULL,
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
 	NULL
 };