diff src/protocols/msn/user.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 93663df88ec4
children 45d54425dc65
line wrap: on
line diff
--- a/src/protocols/msn/user.c	Wed Aug 03 01:39:41 2005 +0000
+++ b/src/protocols/msn/user.c	Wed Aug 03 02:57:00 2005 +0000
@@ -204,7 +204,7 @@
 		memset(digest, 0, sizeof(digest));
 
 		ctx = gaim_cipher_context_new_by_name("sha1", NULL);
-		gaim_cipher_context_append(ctx, (const guint8 *)buf, st.st_size);
+		gaim_cipher_context_append(ctx, (const guchar *)buf, st.st_size);
 		gaim_cipher_context_digest(ctx, sizeof(digest), digest, NULL);
 		g_free(buf);
 
@@ -227,7 +227,7 @@
 		memset(digest, 0, sizeof(digest));
 
 		gaim_cipher_context_reset(ctx, NULL);
-		gaim_cipher_context_append(ctx, (const guint8 *)buf, strlen(buf));
+		gaim_cipher_context_append(ctx, (const guchar *)buf, strlen(buf));
 		gaim_cipher_context_digest(ctx, sizeof(digest), digest, NULL);
 		gaim_cipher_context_destroy(ctx);
 		g_free(buf);