Mercurial > pidgin
diff src/protocols/jabber/presence.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 | ad9a61894d9b |
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c Wed Aug 03 01:39:41 2005 +0000 +++ b/src/protocols/jabber/presence.c Wed Aug 03 02:57:00 2005 +0000 @@ -231,7 +231,7 @@ char hash[41], *p; int i; - gaim_cipher_digest_region("sha1", (guint8 *)data, size, + gaim_cipher_digest_region("sha1", (guchar *)data, size, sizeof(hashval), hashval, NULL); p = hash; for(i=0; i<20; i++, p+=2)