Mercurial > pidgin.yaz
diff src/protocols/simple/simple.c @ 12389:e024601d45c7
[gaim-migrate @ 14695]
How about we allow callers to pass in the entity body, rather than forcing them to hash it themselves?
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 07 Dec 2005 11:01:49 +0000 |
parents | cfc808463763 |
children | ca4021fe9a1c |
line wrap: on
line diff
--- a/src/protocols/simple/simple.c Wed Dec 07 10:38:52 2005 +0000 +++ b/src/protocols/simple/simple.c Wed Dec 07 11:01:49 2005 +0000 @@ -267,7 +267,7 @@ if(auth->type == 1) { /* Digest */ sprintf(noncecount, "%08d", auth->nc++); response = gaim_cipher_http_digest_calculate_response( - "md5", method, target, NULL, NULL, 0, + "md5", method, target, NULL, NULL, auth->nonce, noncecount, NULL, auth->digest_session_key); gaim_debug(GAIM_DEBUG_MISC, "simple", "response %s\n", response); @@ -289,7 +289,7 @@ sprintf(noncecount, "%08d", auth->nc++); response = gaim_cipher_http_digest_calculate_response( - "md5", method, target, NULL, NULL, 0, + "md5", method, target, NULL, NULL, auth->nonce, noncecount, NULL, auth->digest_session_key); gaim_debug(GAIM_DEBUG_MISC, "simple", "response %s\n", response);