mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
http_negotiate_sspi: Fixed compilation when USE_HTTP_NEGOTIATE not defined
This commit is contained in:
parent
0bc14c9faf
commit
d4150c317c
@ -5,7 +5,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#ifdef USE_WINDOWS_SSPI
|
#ifdef USE_WINDOWS_SSPI
|
||||||
|
|
||||||
#ifndef CURL_DISABLE_HTTP
|
#if !defined(CURL_DISABLE_HTTP) && defined(USE_HTTP_NEGOTIATE)
|
||||||
|
|
||||||
#include "urldata.h"
|
#include "urldata.h"
|
||||||
#include "sendf.h"
|
#include "sendf.h"
|
||||||
@ -300,6 +300,6 @@ void Curl_cleanup_negotiate(struct SessionHandle *data)
|
|||||||
cleanup(&data->state.proxyneg);
|
cleanup(&data->state.proxyneg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* !CURL_DISABLE_HTTP && USE_HTTP_NEGOTIATE */
|
||||||
|
|
||||||
#endif
|
#endif /* USE_WINDOWS_SSPI */
|
||||||
#endif
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user