summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2012-06-04 10:53:18 +0100
committerSteve Holme <steve_holme@hotmail.com>2012-06-04 10:53:18 +0100
commit665e16899ce6629097ce884722d9ef17b6708354 (patch)
treea720373c38af8a5619fcb6b58331780163c4d3cd /lib/curl_sasl.h
parent58987556d5fecb6f634fbfd56c6f73ba0a4cedf2 (diff)
downloadcurl-665e16899ce6629097ce884722d9ef17b6708354.tar.gz
sasl: Moved digest-md5 authentication message creation from smtp.c
Moved the digest-md5 message creation from smtp.c into the sasl module to allow for use by other modules such as pop3.
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index c9b605310..892da81ec 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -52,6 +52,13 @@ CURLcode Curl_sasl_create_cram_md5_message(struct SessionHandle *data,
const char* user,
const char* passwdp,
char **outptr, size_t *outlen);
+
+/* This is used to generate a base64 encoded DIGEST-MD5 response message */
+CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
+ const char* chlg64,
+ const char* user,
+ const char* passwdp,
+ char **outptr, size_t *outlen);
#endif
#ifdef USE_NTLM