Mercurial > pidgin
diff src/protocols/msn/user.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 | 93663df88ec4 |
line wrap: on
line diff
--- a/src/protocols/msn/user.c Fri Mar 11 22:45:41 2005 +0000 +++ b/src/protocols/msn/user.c Sat Mar 12 01:10:37 2005 +0000 @@ -205,7 +205,7 @@ ctx = gaim_cipher_context_new_by_name("sha1", NULL); gaim_cipher_context_append(ctx, buf, st.st_size); - gaim_cipher_context_digest(ctx, NULL, digest); + gaim_cipher_context_digest(ctx, sizeof(digest), digest, NULL); g_free(buf); base64 = gaim_base64_encode(digest, sizeof(digest)); @@ -228,7 +228,7 @@ gaim_cipher_context_reset(ctx, NULL); gaim_cipher_context_append(ctx, buf, strlen(buf)); - gaim_cipher_context_digest(ctx, NULL, digest); + gaim_cipher_context_digest(ctx, sizeof(digest), digest, NULL); gaim_cipher_context_destroy(ctx); g_free(buf);