summaryrefslogtreecommitdiff
path: root/lib/http_negotiate.c
diff options
context:
space:
mode:
authorMichael Osipov <1983-01-06@gmx.net>2014-07-21 09:53:43 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-07-23 00:01:39 +0200
commiteda12bcff8bc47380d6e997d785464f858c1d140 (patch)
treef9a9f82790461362dafdb88ed42d21600f3265af /lib/http_negotiate.c
parenta4cece3d47cf092da00cf9910e87bb60b9eff533 (diff)
downloadcurl-eda12bcff8bc47380d6e997d785464f858c1d140.tar.gz
curl_gssapi: Add macros for common mechs and pass them appropriately
Macros defined: KRB5_MECHANISM and SPNEGO_MECHANISM called from HTTP, FTP and SOCKS on Unix
Diffstat (limited to 'lib/http_negotiate.c')
-rw-r--r--lib/http_negotiate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c
index bbad0b459..dc2bb383d 100644
--- a/lib/http_negotiate.c
+++ b/lib/http_negotiate.c
@@ -184,7 +184,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
&minor_status,
&neg_ctx->context,
neg_ctx->server_name,
- TRUE,
+ SPNEGO_MECHANISM,
GSS_C_NO_CHANNEL_BINDINGS,
&input_token,
&output_token,