libpurple/plugins/ciphertest.c

changeset 33909
773899cbd05a
parent 22104
56970903b8e9
child 34178
4712cf749699
--- a/libpurple/plugins/ciphertest.c	Sun May 05 13:15:07 2013 +0200
+++ b/libpurple/plugins/ciphertest.c	Sun May 05 14:59:11 2013 +0200
@@ -86,8 +86,7 @@
 		purple_cipher_context_append(context, (guchar *)md5_tests[i].question,
 								   strlen(md5_tests[i].question));
 
-		ret = purple_cipher_context_digest_to_str(context, sizeof(digest),
-												digest, NULL);
+		ret = purple_cipher_context_digest_to_str(context, digest, sizeof(digest));
 
 		if(!ret) {
 			purple_debug_info("cipher-test", "failed\n");
@@ -155,8 +154,7 @@
 				purple_cipher_context_append(context, buff, 1000);
 		}
 
-		ret = purple_cipher_context_digest_to_str(context, sizeof(digest),
-												digest, NULL);
+		ret = purple_cipher_context_digest_to_str(context, digest, sizeof(digest));
 
 		if(!ret) {
 			purple_debug_info("cipher-test", "failed\n");

mercurial