comparison 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
comparison
equal deleted inserted replaced
11182:5389d7d497ce 11183:8dca96cbcd64
491 491
492 if (iconfile == NULL) 492 if (iconfile == NULL)
493 return; 493 return;
494 494
495 icondata = rendezvous_read_icon_data(iconfile, &iconlength); 495 icondata = rendezvous_read_icon_data(iconfile, &iconlength);
496 gaim_cipher_digest_region("sha1", (guint8 *)icondata, iconlength, sizeof(hash), hash, NULL); 496 gaim_cipher_digest_region("sha1", (guchar *)icondata, iconlength, sizeof(hash), hash, NULL);
497 g_free(icondata); 497 g_free(icondata);
498 498
499 base16 = gaim_base16_encode(hash, 20); 499 base16 = gaim_base16_encode(hash, 20);
500 rendezvous_add_to_txt(rd, "phsh", base16); 500 rendezvous_add_to_txt(rd, "phsh", base16);
501 g_free(base16); 501 g_free(base16);