From d0dbd1e98e9b8f4624b33ffcd91a55e7d0f78fa9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 3 Oct 2011 23:03:59 +0200 Subject: [PATCH] sspi build fix define away Curl_ntlm_sspi_cleanup() when no windows SSPI build --- lib/curl_ntlm_msgs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/curl_ntlm_msgs.h b/lib/curl_ntlm_msgs.h index 6b6ea2a71..7acf7229f 100644 --- a/lib/curl_ntlm_msgs.h +++ b/lib/curl_ntlm_msgs.h @@ -49,6 +49,8 @@ CURLcode Curl_ntlm_decode_type2_message(struct SessionHandle *data, /* This is to clean up the ntlm data structure */ #ifdef USE_WINDOWS_SSPI void Curl_ntlm_sspi_cleanup(struct ntlmdata *ntlm); +#else +#define Curl_ntlm_sspi_cleanup(x) #endif /* NTLM buffer fixed size, large enough for long user + host + domain */