Mercurial > pidgin
diff src/proxy.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 | b221bc891e7a |
line wrap: on
line diff
--- a/src/proxy.c Fri Mar 11 22:45:41 2005 +0000 +++ b/src/proxy.c Sat Mar 12 01:10:37 2005 +0000 @@ -1377,7 +1377,7 @@ pwlen=strlen(passwd); if (pwlen>64) { gaim_cipher_context_append(ctx, passwd, strlen(passwd)); - gaim_cipher_context_digest(ctx, NULL, md5buf); + gaim_cipher_context_digest(ctx, sizeof(md5buf), md5buf, NULL); pwinput=(char *)md5buf; pwlen=16; } @@ -1394,12 +1394,12 @@ gaim_cipher_context_reset(ctx, NULL); gaim_cipher_context_append(ctx, Kxoripad, 64); gaim_cipher_context_append(ctx, challenge, challen); - gaim_cipher_context_digest(ctx, NULL, Kxoripad); + gaim_cipher_context_digest(ctx, sizeof(Kxoripad), Kxoripad, NULL); gaim_cipher_context_reset(ctx, NULL); gaim_cipher_context_append(ctx, Kxoropad, 64); gaim_cipher_context_append(ctx, Kxoripad, 16); - gaim_cipher_context_digest(ctx, NULL, response); + gaim_cipher_context_digest(ctx, sizeof(response), response, NULL); gaim_cipher_context_destroy(ctx); }