libpurple/protocols/msn/directconn.c

changeset 33909
773899cbd05a
parent 33785
502a383ea856
child 34304
faf0414a8b51
child 34557
295cd5bf4c41
--- a/libpurple/protocols/msn/directconn.c	Sun May 05 13:15:07 2013 +0200
+++ b/libpurple/protocols/msn/directconn.c	Sun May 05 14:59:11 2013 +0200
@@ -47,7 +47,7 @@
 		PurpleCipher *cipher = purple_ciphers_find_cipher("sha1");
 		PurpleCipherContext *context = purple_cipher_context_new(cipher, NULL);
 		purple_cipher_context_append(context, nonce, nonce_len);
-		purple_cipher_context_digest(context, sizeof(digest), digest, NULL);
+		purple_cipher_context_digest(context, digest, sizeof(digest));
 		purple_cipher_context_destroy(context);
 	} else if (type == DC_NONCE_PLAIN) {
 		memcpy(digest, nonce, nonce_len);

mercurial