summaryrefslogtreecommitdiff
path: root/lib/curl_ntlm.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-10-09 11:03:14 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-11-09 11:10:34 +0000
commit474442dd564cab52d7732403eba5cd630764ba26 (patch)
tree0e69519916a2b96c6b1fef8badd03263bdfd2d68 /lib/curl_ntlm.c
parent79931c5aebd86ad561a98a461b2fefed30e54ad8 (diff)
downloadcurl-474442dd564cab52d7732403eba5cd630764ba26.tar.gz
ntlm: Moved SSPI clean-up code into SASL module
Diffstat (limited to 'lib/curl_ntlm.c')
-rw-r--r--lib/curl_ntlm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/curl_ntlm.c b/lib/curl_ntlm.c
index a792190ea..a8f8d5326 100644
--- a/lib/curl_ntlm.c
+++ b/lib/curl_ntlm.c
@@ -39,6 +39,7 @@
#include "curl_ntlm.h"
#include "curl_ntlm_msgs.h"
#include "curl_ntlm_wb.h"
+#include "curl_sasl.h"
#include "url.h"
#include "curl_memory.h"
@@ -229,8 +230,8 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy)
void Curl_http_ntlm_cleanup(struct connectdata *conn)
{
#ifdef USE_WINDOWS_SSPI
- Curl_ntlm_sspi_cleanup(&conn->ntlm);
- Curl_ntlm_sspi_cleanup(&conn->proxyntlm);
+ Curl_sasl_ntlm_cleanup(&conn->ntlm);
+ Curl_sasl_ntlm_cleanup(&conn->proxyntlm);
#elif defined(NTLM_WB_ENABLED)
Curl_ntlm_wb_cleanup(conn);
#else