summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-11-05 13:35:27 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-05 13:40:08 +0000
commitd7bfce3951087eaa1d6a41f2e9f50a4b2180c5a2 (patch)
tree8c6d23496f41e4dc325d4a795344ffe7084b36a2 /lib/curl_sasl.h
parent3cfe3bc0010a8089c689b8c01a4abe39ba839191 (diff)
downloadcurl-d7bfce3951087eaa1d6a41f2e9f50a4b2180c5a2.tar.gz
http_digest: Moved algorithm definitions to SASL module
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index 68ef5526c..3576d4199 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -56,6 +56,11 @@ struct kerberos5data;
#define SASL_MECH_STRING_NTLM "NTLM"
#define SASL_MECH_STRING_XOAUTH2 "XOAUTH2"
+enum {
+ CURLDIGESTALGO_MD5,
+ CURLDIGESTALGO_MD5SESS
+};
+
/* This is used to test whether the line starts with the given mechanism */
#define sasl_mech_equal(line, wordlen, mech) \
(wordlen == (sizeof(mech) - 1) / sizeof(char) && \