diff src/protocols/jabber/auth.c @ 11137:096020ae09a9

[gaim-migrate @ 13201] Some more deworming. I mean, dewarning. I also realized that lots of glib uses guchar* instead of guint* for passing around bits of binary data, so I changed some stuff in util.c that I'd already changed. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 21 Jul 2005 05:49:48 +0000
parents 719779387f96
children 4cf257598691
line wrap: on
line diff
--- a/src/protocols/jabber/auth.c	Thu Jul 21 04:16:35 2005 +0000
+++ b/src/protocols/jabber/auth.c	Thu Jul 21 05:49:48 2005 +0000
@@ -76,7 +76,7 @@
 		response = g_string_append(response,
 				gaim_connection_get_password(js->gc));
 
-		enc_out = gaim_base64_encode((guint8 *)response->str, response->len);
+		enc_out = gaim_base64_encode((guchar *)response->str, response->len);
 
 		xmlnode_set_attrib(auth, "mechanism", "PLAIN");
 		xmlnode_insert_data(auth, enc_out, -1);
@@ -304,7 +304,7 @@
 {
 	GaimCipher *cipher;
 	GaimCipherContext *context;
-	guint8 result[16];
+	guchar result[16];
 	size_t a1len;
 
 	unsigned char *x, *a1, *kd, *convnode, *convpasswd;
@@ -445,7 +445,7 @@
 			g_free(auth_resp);
 			g_free(cnonce);
 
-			enc_out = gaim_base64_encode((guint8 *)response->str, response->len);
+			enc_out = gaim_base64_encode((guchar *)response->str, response->len);
 
 			gaim_debug(GAIM_DEBUG_MISC, "jabber", "decoded response (%d): %s\n", response->len, response->str);