summaryrefslogtreecommitdiff
path: root/lib/socks_gssapi.c
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2011-07-19 19:10:43 +0200
committerKamil Dudka <kdudka@redhat.com>2011-08-03 10:23:34 +0200
commitebf42c4be76df40ec6d3bf32f229bbb274e2c32f (patch)
tree9f8d2beb5ea948ef116a9bca0e9bab1db937529e /lib/socks_gssapi.c
parent7688a99bef48ad9b64af971e983e8709c5b12ce4 (diff)
downloadcurl-ebf42c4be76df40ec6d3bf32f229bbb274e2c32f.tar.gz
Add new CURLOPT_GSSAPI_DELEGATION option.
Curl_gss_init_sec_context got new parameter - SessionHandle. Signed-off-by: Adam Tkac <atkac@redhat.com>
Diffstat (limited to 'lib/socks_gssapi.c')
-rw-r--r--lib/socks_gssapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/socks_gssapi.c b/lib/socks_gssapi.c
index 74b074ee1..c62bdc9c3 100644
--- a/lib/socks_gssapi.c
+++ b/lib/socks_gssapi.c
@@ -180,7 +180,8 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
/* As long as we need to keep sending some context info, and there's no */
/* errors, keep sending it... */
for(;;) {
- gss_major_status = Curl_gss_init_sec_context(&gss_minor_status,
+ gss_major_status = Curl_gss_init_sec_context(data,
+ &gss_minor_status,
&gss_context,
server,
NULL,