Lines Matching refs:state
54 curlnegotiate state; in Curl_input_negotiate() local
64 state = conn->proxy_negotiate_state; in Curl_input_negotiate()
76 state = conn->http_negotiate_state; in Curl_input_negotiate()
94 if(state == GSS_AUTHSUCC) { in Curl_input_negotiate()
98 else if(state != GSS_AUTHNONE) { in Curl_input_negotiate()
142 curlnegotiate *state; in Curl_output_negotiate() local
151 authp = &data->state.authproxy; in Curl_output_negotiate()
152 state = &conn->proxy_negotiate_state; in Curl_output_negotiate()
159 authp = &data->state.authhost; in Curl_output_negotiate()
160 state = &conn->http_negotiate_state; in Curl_output_negotiate()
165 if(*state == GSS_AUTHRECV) { in Curl_output_negotiate()
170 else if(*state == GSS_AUTHSUCC) { in Curl_output_negotiate()
177 (*state != GSS_AUTHDONE && *state != GSS_AUTHSUCC)) { in Curl_output_negotiate()
179 if(neg_ctx->noauthpersist && *state == GSS_AUTHSUCC) { in Curl_output_negotiate()
205 Curl_safefree(data->state.aptr.proxyuserpwd); in Curl_output_negotiate()
206 data->state.aptr.proxyuserpwd = userp; in Curl_output_negotiate()
210 Curl_safefree(data->state.aptr.userpwd); in Curl_output_negotiate()
211 data->state.aptr.userpwd = userp; in Curl_output_negotiate()
220 *state = GSS_AUTHSENT; in Curl_output_negotiate()
224 *state = GSS_AUTHDONE; in Curl_output_negotiate()
230 *state = GSS_AUTHDONE; in Curl_output_negotiate()
236 if(*state == GSS_AUTHDONE || *state == GSS_AUTHSUCC) { in Curl_output_negotiate()