changeset 10705:194167d8a3b6

[gaim-migrate @ 12289] Someone tell me if this is wrong. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 20 Mar 2005 01:58:53 +0000
parents a4ae4fb7f939
children b221bc891e7a
files src/protocols/rendezvous/rendezvous.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);