Mercurial > pidgin
diff plugins/ciphertest.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 | 50224ac8184d |
| children | bb0d7b719af2 |
line wrap: on
line diff
--- a/plugins/ciphertest.c Wed Aug 03 01:39:41 2005 +0000 +++ b/plugins/ciphertest.c Wed Aug 03 02:57:00 2005 +0000 @@ -38,8 +38,8 @@ #include "version.h" struct test { - const guint8 *question; - const guint8 *answer; + const guchar *question; + const guchar *answer; }; /************************************************************************** @@ -147,7 +147,7 @@ strlen(sha1_tests[i].question)); } else { gint j; - guint8 buff[1000]; + guchar buff[1000]; memset(buff, 'a', 1000);
