diff src/protocols/trepia/trepia.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 096020ae09a9
children bb0d7b719af2
line wrap: on
line diff
--- a/src/protocols/trepia/trepia.c	Wed Aug 03 01:39:41 2005 +0000
+++ b/src/protocols/trepia/trepia.c	Wed Aug 03 02:57:00 2005 +0000
@@ -984,7 +984,7 @@
 	char md5_password[17];
 	GaimCipher *cipher;
 	GaimCipherContext *context;
-	guint8 di[16];
+	guchar di[16];
 	int i;
 
 	if (source < 0) {
@@ -1004,7 +1004,7 @@
 
 	cipher = gaim_ciphers_find_cipher("md5");
 	context = gaim_cipher_context_new(cipher, NULL);
-	gaim_cipher_context_append(context, password, strlen(password));
+	gaim_cipher_context_append(context, (const guchar *)password, strlen(password));
 	gaim_cipher_context_digest(context, sizeof(di), di, NULL);
 
 	*md5_password = '\0';