mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
http_negotiate: Don't expose functions when HTTP is disabled
This commit is contained in:
parent
b4988286a9
commit
fb243b0475
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifdef USE_SPNEGO
|
#if !defined(CURL_DISABLE_HTTP) && defined(USE_SPNEGO)
|
||||||
|
|
||||||
/* this is for Negotiate header input */
|
/* this is for Negotiate header input */
|
||||||
CURLcode Curl_input_negotiate(struct connectdata *conn, bool proxy,
|
CURLcode Curl_input_negotiate(struct connectdata *conn, bool proxy,
|
||||||
@ -33,6 +33,6 @@ CURLcode Curl_output_negotiate(struct connectdata *conn, bool proxy);
|
|||||||
|
|
||||||
void Curl_cleanup_negotiate(struct connectdata *conn);
|
void Curl_cleanup_negotiate(struct connectdata *conn);
|
||||||
|
|
||||||
#endif /* USE_SPNEGO */
|
#endif /* !CURL_DISABLE_HTTP && USE_SPNEGO */
|
||||||
|
|
||||||
#endif /* HEADER_CURL_HTTP_NEGOTIATE_H */
|
#endif /* HEADER_CURL_HTTP_NEGOTIATE_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user