summaryrefslogtreecommitdiff
path: root/lib/socks_gssapi.c
diff options
context:
space:
mode:
authorJulien Chaffraix <julien.chaffraix@gmail.com>2011-06-10 08:26:34 -0700
committerJulien Chaffraix <julien.chaffraix@gmail.com>2011-07-12 07:06:26 -0700
commit2af0287856ca0ba7fc4d80bf94e46bb2d4c6d96c (patch)
tree1476d96ea06090297aa86110ba73ecdc57200fa0 /lib/socks_gssapi.c
parent20485a48858ea35351ca69060f56353eace0521c (diff)
downloadcurl-2af0287856ca0ba7fc4d80bf94e46bb2d4c6d96c.tar.gz
gssapi.c: Simplified the function.
Removed the parameters that were common to all our invocation.
Diffstat (limited to 'lib/socks_gssapi.c')
-rw-r--r--lib/socks_gssapi.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/socks_gssapi.c b/lib/socks_gssapi.c
index e91b572e3..8af26c26a 100644
--- a/lib/socks_gssapi.c
+++ b/lib/socks_gssapi.c
@@ -185,18 +185,12 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
/* errors, keep sending it... */
for(;;) {
gss_major_status = Curl_gss_init_sec_context(&gss_minor_status,
- GSS_C_NO_CREDENTIAL,
- &gss_context, server,
- GSS_C_NULL_OID,
- GSS_C_MUTUAL_FLAG |
- GSS_C_REPLAY_FLAG,
- 0,
+ &gss_context,
+ server,
NULL,
gss_token,
- NULL,
&gss_send_token,
- &gss_ret_flags,
- NULL);
+ &gss_ret_flags);
if(gss_token != GSS_C_NO_BUFFER)
gss_release_buffer(&gss_status, &gss_recv_token);