diff src/protocols/msn/notification.c @ 10687:b256ce6b85b8

[gaim-migrate @ 12235] grim says this is really fixed this time. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 12 Mar 2005 01:10:37 +0000
parents 72a5babfa8b4
children 94cc67130789
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Fri Mar 11 22:45:41 2005 +0000
+++ b/src/protocols/msn/notification.c	Sat Mar 12 01:10:37 2005 +0000
@@ -418,7 +418,7 @@
 
 	gaim_cipher_context_append(context, challenge_resp,
 							   strlen(challenge_resp));
-	gaim_cipher_context_digest(context, NULL, digest);
+	gaim_cipher_context_digest(context, sizeof(digest), digest, NULL);
 	gaim_cipher_context_destroy(context);
 
 	for (i = 0; i < 16; i++)
@@ -910,7 +910,7 @@
 	context = gaim_cipher_context_new(cipher, NULL);
 
 	gaim_cipher_context_append(context, buf, strlen(buf));
-	gaim_cipher_context_digest(context, NULL, digest);
+	gaim_cipher_context_digest(context, sizeof(digest), digest, NULL);
 	gaim_cipher_context_destroy(context);
 
 	memset(sendbuf, 0, sizeof(sendbuf));