Lines Matching refs:gss_recv_token

120   gss_buffer_desc  gss_recv_token = GSS_C_EMPTY_BUFFER;  in Curl_SOCKS5_gssapi_negotiate()  local
190 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()
194 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()
212 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()
224 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()
233 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()
275 gss_recv_token.length = us_length; in Curl_SOCKS5_gssapi_negotiate()
276 gss_recv_token.value = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
277 if(!gss_recv_token.value) { in Curl_SOCKS5_gssapi_negotiate()
286 result = Curl_blockread_all(cf, data, (char *)gss_recv_token.value, in Curl_SOCKS5_gssapi_negotiate()
287 gss_recv_token.length, &actualread); in Curl_SOCKS5_gssapi_negotiate()
292 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()
297 gss_token = &gss_recv_token; in Curl_SOCKS5_gssapi_negotiate()
472 gss_recv_token.length = us_length; in Curl_SOCKS5_gssapi_negotiate()
473 gss_recv_token.value = malloc(gss_recv_token.length); in Curl_SOCKS5_gssapi_negotiate()
474 if(!gss_recv_token.value) { in Curl_SOCKS5_gssapi_negotiate()
478 result = Curl_blockread_all(cf, data, (char *)gss_recv_token.value, in Curl_SOCKS5_gssapi_negotiate()
479 gss_recv_token.length, &actualread); in Curl_SOCKS5_gssapi_negotiate()
483 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()
490 &gss_recv_token, &gss_w_token, in Curl_SOCKS5_gssapi_negotiate()
494 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()
500 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()
514 if(gss_recv_token.length != 1) { in Curl_SOCKS5_gssapi_negotiate()
516 gss_recv_token.length); in Curl_SOCKS5_gssapi_negotiate()
517 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()
522 memcpy(socksreq, gss_recv_token.value, gss_recv_token.length); in Curl_SOCKS5_gssapi_negotiate()
523 gss_release_buffer(&gss_status, &gss_recv_token); in Curl_SOCKS5_gssapi_negotiate()