Lines Matching refs:gss_send_token

119   gss_buffer_desc  gss_send_token = GSS_C_EMPTY_BUFFER;  in Curl_SOCKS5_gssapi_negotiate()  local
185 &gss_send_token, in Curl_SOCKS5_gssapi_negotiate()
195 gss_release_buffer(&gss_status, &gss_send_token); in Curl_SOCKS5_gssapi_negotiate()
201 if(gss_send_token.length) { in Curl_SOCKS5_gssapi_negotiate()
204 us_length = htons((unsigned short)gss_send_token.length); in Curl_SOCKS5_gssapi_negotiate()
213 gss_release_buffer(&gss_status, &gss_send_token); in Curl_SOCKS5_gssapi_negotiate()
219 (char *)gss_send_token.value, in Curl_SOCKS5_gssapi_negotiate()
220 gss_send_token.length, FALSE, &code); in Curl_SOCKS5_gssapi_negotiate()
221 if(code || ((ssize_t)gss_send_token.length != nwritten)) { in Curl_SOCKS5_gssapi_negotiate()
225 gss_release_buffer(&gss_status, &gss_send_token); in Curl_SOCKS5_gssapi_negotiate()
232 gss_release_buffer(&gss_status, &gss_send_token); in Curl_SOCKS5_gssapi_negotiate()
314 &gss_send_token, NULL); in Curl_SOCKS5_gssapi_negotiate()
319 gss_release_buffer(&gss_status, &gss_send_token); in Curl_SOCKS5_gssapi_negotiate()
323 user = malloc(gss_send_token.length + 1); in Curl_SOCKS5_gssapi_negotiate()
327 gss_release_buffer(&gss_status, &gss_send_token); in Curl_SOCKS5_gssapi_negotiate()
331 memcpy(user, gss_send_token.value, gss_send_token.length); in Curl_SOCKS5_gssapi_negotiate()
332 user[gss_send_token.length] = '\0'; in Curl_SOCKS5_gssapi_negotiate()
334 gss_release_buffer(&gss_status, &gss_send_token); in Curl_SOCKS5_gssapi_negotiate()
391 gss_send_token.length = 1; in Curl_SOCKS5_gssapi_negotiate()
392 gss_send_token.value = Curl_memdup(&gss_enc, 1); in Curl_SOCKS5_gssapi_negotiate()
393 if(!gss_send_token.value) { in Curl_SOCKS5_gssapi_negotiate()
399 GSS_C_QOP_DEFAULT, &gss_send_token, in Curl_SOCKS5_gssapi_negotiate()
403 gss_release_buffer(&gss_status, &gss_send_token); in Curl_SOCKS5_gssapi_negotiate()
409 gss_release_buffer(&gss_status, &gss_send_token); in Curl_SOCKS5_gssapi_negotiate()