summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-11-05 15:01:51 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-05 15:33:21 +0000
commit6f8d8131b1a430002bb1ca214d0e66e3475a195e (patch)
tree0fda574f2496c6b61fd5e5b35e5f8e12c41827e2 /lib/curl_sasl.h
parent7e6d51a73cc3e46699424afb3ac33df1fe6ad539 (diff)
downloadcurl-6f8d8131b1a430002bb1ca214d0e66e3475a195e.tar.gz
http_digest: Moved response generation into SASL module
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index da6511c3d..e9ecab348 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -109,6 +109,15 @@ CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
CURLcode Curl_sasl_decode_digest_http_message(const char *chlg,
struct digestdata *digest);
+/* This is used to generate a HTTP DIGEST response message */
+CURLcode Curl_sasl_create_digest_http_message(struct SessionHandle *data,
+ const char *userp,
+ const char *passwdp,
+ const unsigned char *request,
+ const unsigned char *uri,
+ struct digestdata *digest,
+ char **outptr, size_t *outlen);
+
/* This is used to clean up the digest specific data */
void Curl_sasl_digest_cleanup(struct digestdata *digest);
#endif