diff src/proxy.c @ 11183:8dca96cbcd64

[gaim-migrate @ 13295] I changed the cipher API to use guchar instead of guint8 This seems to be what gtk/glib uses for random bits of data I don't know what got into me committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 03 Aug 2005 02:57:00 +0000
parents 5c56223fa24f
children bb0d7b719af2
line wrap: on
line diff
--- a/src/proxy.c	Wed Aug 03 01:39:41 2005 +0000
+++ b/src/proxy.c	Wed Aug 03 02:57:00 2005 +0000
@@ -1418,7 +1418,7 @@
 	unsigned char Kxoropad[65];
 	int pwlen;
 	char * pwinput;
-	guint8 md5buf[16];
+	guchar md5buf[16];
 
 	cipher = gaim_ciphers_find_cipher("md5");
 	ctx = gaim_cipher_context_new(cipher, NULL);
@@ -1426,7 +1426,7 @@
 	pwinput=(char *)passwd;
 	pwlen=strlen(passwd);
 	if (pwlen>64) {
-		gaim_cipher_context_append(ctx, (const guint8 *)passwd, strlen(passwd));
+		gaim_cipher_context_append(ctx, (const guchar *)passwd, strlen(passwd));
 		gaim_cipher_context_digest(ctx, sizeof(md5buf), md5buf, NULL);
 		pwinput=(char *)md5buf;
 		pwlen=16;