Mercurial > pidgin
diff src/protocols/rendezvous/rendezvous.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 |
line wrap: on
line diff
--- a/src/protocols/rendezvous/rendezvous.c Wed Aug 03 01:39:41 2005 +0000 +++ b/src/protocols/rendezvous/rendezvous.c Wed Aug 03 02:57:00 2005 +0000 @@ -493,7 +493,7 @@ return; icondata = rendezvous_read_icon_data(iconfile, &iconlength); - gaim_cipher_digest_region("sha1", (guint8 *)icondata, iconlength, sizeof(hash), hash, NULL); + gaim_cipher_digest_region("sha1", (guchar *)icondata, iconlength, sizeof(hash), hash, NULL); g_free(icondata); base16 = gaim_base16_encode(hash, 20);
