Lines Matching refs:sspi_recv_token
76 SecBuffer sspi_send_token, sspi_recv_token, sspi_w_token[3]; in Curl_SOCKS5_gssapi_negotiate() local
117 input_desc.pBuffers = &sspi_recv_token; in Curl_SOCKS5_gssapi_negotiate()
120 sspi_recv_token.BufferType = SECBUFFER_TOKEN; in Curl_SOCKS5_gssapi_negotiate()
121 sspi_recv_token.cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
122 sspi_recv_token.pvBuffer = NULL; in Curl_SOCKS5_gssapi_negotiate()
183 if(sspi_recv_token.pvBuffer) { in Curl_SOCKS5_gssapi_negotiate()
184 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer); in Curl_SOCKS5_gssapi_negotiate()
185 sspi_recv_token.pvBuffer = NULL; in Curl_SOCKS5_gssapi_negotiate()
186 sspi_recv_token.cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
193 if(sspi_recv_token.pvBuffer) in Curl_SOCKS5_gssapi_negotiate()
194 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer); in Curl_SOCKS5_gssapi_negotiate()
211 if(sspi_recv_token.pvBuffer) in Curl_SOCKS5_gssapi_negotiate()
212 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer); in Curl_SOCKS5_gssapi_negotiate()
225 if(sspi_recv_token.pvBuffer) in Curl_SOCKS5_gssapi_negotiate()
226 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer); in Curl_SOCKS5_gssapi_negotiate()
240 if(sspi_recv_token.pvBuffer) { in Curl_SOCKS5_gssapi_negotiate()
241 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer); in Curl_SOCKS5_gssapi_negotiate()
242 sspi_recv_token.pvBuffer = NULL; in Curl_SOCKS5_gssapi_negotiate()
244 sspi_recv_token.cbBuffer = 0; in Curl_SOCKS5_gssapi_negotiate()
290 sspi_recv_token.cbBuffer = us_length; in Curl_SOCKS5_gssapi_negotiate()
291 sspi_recv_token.pvBuffer = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
293 if(!sspi_recv_token.pvBuffer) { in Curl_SOCKS5_gssapi_negotiate()
299 result = Curl_blockread_all(conn, sock, (char *)sspi_recv_token.pvBuffer, in Curl_SOCKS5_gssapi_negotiate()
300 sspi_recv_token.cbBuffer, &actualread); in Curl_SOCKS5_gssapi_negotiate()
305 if(sspi_recv_token.pvBuffer) in Curl_SOCKS5_gssapi_negotiate()
306 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer); in Curl_SOCKS5_gssapi_negotiate()