diff src/cipher.h @ 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 4e045668b9d0
children 89ceef5203ac
line wrap: on
line diff
--- a/src/cipher.h	Wed Dec 07 10:38:52 2005 +0000
+++ b/src/cipher.h	Wed Dec 07 11:01:49 2005 +0000
@@ -419,8 +419,7 @@
  * @param method            The HTTP method in use
  * @param digest_uri        The URI from the initial request
  * @param qop               The "quality of protection"
- * @param hashed_entity     The hashed entity body
- * @param hashed_entity_len The length of the data in @a hashed_entity
+ * @param entity            The entity body
  * @param nonce             The nonce provided by the server
  * @param nonce_count       The nonce count
  * @param client_nonce      The nonce provided by the client
@@ -431,9 +430,9 @@
 gchar *gaim_cipher_http_digest_calculate_response(
 		const gchar *algorithm, const gchar *method,
 		const gchar *digest_uri, const gchar *qop,
-		const gchar *hashed_entity, size_t hashed_entity_len,
-		const gchar *nonce, const gchar *nonce_count,
-		const gchar *client_nonce, const gchar *session_key);
+		const gchar *entity, const gchar *nonce,
+		const gchar *nonce_count, const gchar *client_nonce,
+		const gchar *session_key);
 
 /*@}*/