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
This commit is contained in:
Michael Osipov
2014-07-21 09:53:43 +02:00
committed by Daniel Stenberg
parent a4cece3d47
commit eda12bcff8
5 changed files with 25 additions and 19 deletions

View File

@@ -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,