changeset 16665:6531f1a2e1d7

Added NULL pads to ssl stuff
author Gary Kramlich <grim@reaperworld.com>
date Sun, 29 Apr 2007 22:17:53 +0000
parents 516f14bef90e
children 5205dd2bd035
files libpurple/plugins/ssl/ssl-gnutls.c libpurple/plugins/ssl/ssl-nss.c libpurple/plugins/ssl/ssl.c
diffstat 3 files changed, 34 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/ssl/ssl-gnutls.c	Sun Apr 29 22:02:47 2007 +0000
+++ b/libpurple/plugins/ssl/ssl-gnutls.c	Sun Apr 29 22:17:53 2007 +0000
@@ -208,7 +208,13 @@
 	ssl_gnutls_connect,
 	ssl_gnutls_close,
 	ssl_gnutls_read,
-	ssl_gnutls_write
+	ssl_gnutls_write,
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 #endif /* HAVE_GNUTLS */
@@ -270,7 +276,13 @@
 	NULL,                                             /**< ui_info        */
 	NULL,                                             /**< extra_info     */
 	NULL,                                             /**< prefs_info     */
-	NULL                                              /**< actions        */
+	NULL,                                             /**< actions        */
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 static void
--- a/libpurple/plugins/ssl/ssl-nss.c	Sun Apr 29 22:02:47 2007 +0000
+++ b/libpurple/plugins/ssl/ssl-nss.c	Sun Apr 29 22:17:53 2007 +0000
@@ -359,7 +359,13 @@
 	ssl_nss_connect,
 	ssl_nss_close,
 	ssl_nss_read,
-	ssl_nss_write
+	ssl_nss_write,
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 #endif /* HAVE_NSS */
@@ -422,7 +428,13 @@
 	NULL,                                             /**< ui_info        */
 	NULL,                                             /**< extra_info     */
 	NULL,                                             /**< prefs_info     */
-	NULL                                              /**< actions        */
+	NULL,                                             /**< actions        */
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 static void
--- a/libpurple/plugins/ssl/ssl.c	Sun Apr 29 22:02:47 2007 +0000
+++ b/libpurple/plugins/ssl/ssl.c	Sun Apr 29 22:17:53 2007 +0000
@@ -107,6 +107,12 @@
 	NULL,                                             /**< ui_info        */
 	NULL,                                             /**< extra_info     */
 	NULL,
+	NULL,
+
+	/* padding */
+	NULL,
+	NULL,
+	NULL,
 	NULL
 };