summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-09-12 14:50:02 +0100
committerSteve Holme <steve_holme@hotmail.com>2016-03-25 15:11:09 +0000
commit6012fa5aee04e05960804041bbcb444698cb7a33 (patch)
treed3cc56c5005acbfcf509b00a805865432e2ed6fd /lib/curl_sasl.h
parente1dca8a11706360ef0f9403492ea4c9b67692615 (diff)
downloadgnurl-6012fa5aee04e05960804041bbcb444698cb7a33.tar.gz
gnurl-6012fa5aee04e05960804041bbcb444698cb7a33.tar.bz2
gnurl-6012fa5aee04e05960804041bbcb444698cb7a33.zip
vauth: Moved the NTLM authentication code to the new vauth directory
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index 7fd658846..6535fedbc 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -27,10 +27,6 @@
struct SessionHandle;
struct connectdata;
-#if defined(USE_NTLM)
-struct ntlmdata;
-#endif
-
/* Authentication mechanism flags */
#define SASL_MECH_LOGIN (1 << 0)
#define SASL_MECH_PLAIN (1 << 1)
@@ -118,31 +114,6 @@ struct SASL {
(wordlen == (sizeof(mech) - 1) / sizeof(char) && \
!memcmp(line, mech, wordlen))
-#ifdef USE_NTLM
-/* This is used to generate a base64 encoded NTLM type-1 message */
-CURLcode Curl_sasl_create_ntlm_type1_message(const char *userp,
- const char *passwdp,
- struct ntlmdata *ntlm,
- char **outptr,
- size_t *outlen);
-
-/* This is used to decode a base64 encoded NTLM type-2 message */
-CURLcode Curl_sasl_decode_ntlm_type2_message(struct SessionHandle *data,
- const char *type2msg,
- struct ntlmdata *ntlm);
-
-/* This is used to generate a base64 encoded NTLM type-3 message */
-CURLcode Curl_sasl_create_ntlm_type3_message(struct SessionHandle *data,
- const char *userp,
- const char *passwdp,
- struct ntlmdata *ntlm,
- char **outptr, size_t *outlen);
-
-/* This is used to clean up the ntlm specific data */
-void Curl_sasl_ntlm_cleanup(struct ntlmdata *ntlm);
-
-#endif /* USE_NTLM */
-
/* This is used to cleanup any libraries or curl modules used by the sasl
functions */
void Curl_sasl_cleanup(struct connectdata *conn, unsigned int authused);