gssapi.c: Simplified the function.

Removed the parameters that were common to all our invocation.
This commit is contained in:
Julien Chaffraix
2011-06-10 08:26:34 -07:00
parent 20485a4885
commit 2af0287856
5 changed files with 15 additions and 45 deletions

View File

@@ -240,18 +240,11 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
}
major_status = Curl_gss_init_sec_context(&minor_status,
GSS_C_NO_CREDENTIAL,
&neg_ctx->context,
neg_ctx->server_name,
GSS_C_NO_OID,
GSS_C_MUTUAL_FLAG
| GSS_C_REPLAY_FLAG,
0,
GSS_C_NO_CHANNEL_BINDINGS,
&input_token,
NULL,
&output_token,
NULL,
NULL);
if(input_token.length > 0)
gss_release_buffer(&minor_status2, &input_token);