# HG changeset patch # User Mark Doliner # Date 1111283933 0 # Node ID 194167d8a3b603b76640191a1deda0aa40c63adf # Parent a4ae4fb7f939ef3b6e30a35dc64714c9c2c5a9b8 [gaim-migrate @ 12289] Someone tell me if this is wrong. committer: Tailor Script diff -r a4ae4fb7f939 -r 194167d8a3b6 src/protocols/rendezvous/rendezvous.c --- a/src/protocols/rendezvous/rendezvous.c Sun Mar 20 01:42:53 2005 +0000 +++ b/src/protocols/rendezvous/rendezvous.c Sun Mar 20 01:58:53 2005 +0000 @@ -25,10 +25,10 @@ #include "accountopt.h" #include "blist.h" #include "conversation.h" +#include "cipher.h" #include "debug.h" #include "network.h" #include "prpl.h" -#include "sha.h" #include "version.h" #include "direct.h" @@ -493,7 +493,7 @@ return; icondata = rendezvous_read_icon_data(iconfile, &iconlength); - shaBlock((unsigned char *)icondata, iconlength, hash); + gaim_cipher_digest_region("sha1", (guint8 *)icondata, iconlength, sizeof(hash), hash, NULL); g_free(icondata); base16 = gaim_base16_encode(hash, 20);