/third_party/curl/src/ |
H A D | tool_paramhlp.c | 499 char **userpwd) /* pointer to allocated string */ in checkpasswd() 504 if(!*userpwd) in checkpasswd() 508 psep = strchr(*userpwd, ':'); in checkpasswd() 511 osep = strchr(*userpwd, ';'); in checkpasswd() 513 if(!psep && **userpwd != ';') { in checkpasswd() 527 kind, *userpwd); in checkpasswd() 531 kind, *userpwd, i + 1); in checkpasswd() 538 if(curlx_dyn_addf(&dyn, "%s:%s", *userpwd, passwd)) in checkpasswd() 542 free(*userpwd); in checkpasswd() 543 *userpwd in checkpasswd() 496 checkpasswd(const char *kind, const size_t i, const bool last, char **userpwd) checkpasswd() argument [all...] |
H A D | tool_cfgable.h | 92 char *userpwd; member
|
H A D | tool_cfgable.c | 73 Curl_safefree(config->userpwd); in free_config_fields()
|
H A D | tool_getparam.c | 2597 err = getstr(&config->userpwd, nextarg, ALLOW_BLANK); in getparameter()
|
H A D | tool_operate.c | 1406 my_setopt_str(curl, CURLOPT_USERPWD, config->userpwd); in single_transfer()
|
/third_party/curl/tests/libtest/ |
H A D | lib540.c | 51 static int init(int num, CURLM *cm, const char *url, const char *userpwd, in init() argument 68 res_easy_setopt(eh[num], CURLOPT_PROXYUSERPWD, userpwd); in init() 102 static int loop(int num, CURLM *cm, const char *url, const char *userpwd, in loop() argument 112 res = init(num, cm, url, userpwd, headers); in loop()
|
H A D | libauthretry.c | 33 long auth_scheme, const char *userpwd) in send_request() 45 "(auth %ld)\n", seq, full_url, userpwd, auth_scheme); in send_request() 50 test_setopt(curl, CURLOPT_USERPWD, userpwd); in send_request() 32 send_request(CURL *curl, const char *url, int seq, long auth_scheme, const char *userpwd) send_request() argument
|
/third_party/curl/lib/ |
H A D | http_negotiate.c | 178 Curl_safefree(data->state.aptr.userpwd); in Curl_output_negotiate() 179 data->state.aptr.userpwd = userp; in Curl_output_negotiate()
|
H A D | http_digest.c | 108 allocuserpwd = &data->state.aptr.userpwd; in Curl_output_digest()
|
H A D | http_ntlm.c | 171 allocuserpwd = &data->state.aptr.userpwd; in Curl_output_ntlm()
|
H A D | http_aws_sigv4.c | 799 Curl_safefree(data->state.aptr.userpwd); in Curl_output_aws_sigv4() 800 data->state.aptr.userpwd = auth_headers; in Curl_output_aws_sigv4()
|
H A D | curl_ntlm_wb.c | 413 allocuserpwd = &data->state.aptr.userpwd; in Curl_output_ntlm_wb()
|
H A D | c-hyper.c | 1053 if(data->state.aptr.userpwd) { in Curl_http() 1054 result = Curl_hyper_header(data, headers, data->state.aptr.userpwd); in Curl_http() 1204 /* clear userpwd and proxyuserpwd to avoid reusing old credentials in Curl_http() 1206 Curl_safefree(data->state.aptr.userpwd); in Curl_http()
|
H A D | rtsp.c | 396 p_userpwd = data->state.aptr.userpwd; in rtsp_do() 466 "%s" /* userpwd */ in rtsp_do() 478 * Free userpwd now --- cannot reuse this for Negotiate and possibly NTLM in rtsp_do() 481 Curl_safefree(data->state.aptr.userpwd); in rtsp_do()
|
H A D | http.c | 294 userp = &data->state.aptr.userpwd; in http_output_basic() 341 userp = &data->state.aptr.userpwd; in http_output_bearer() 3233 "%s" /* userpwd */ in Curl_http() 3248 data->state.aptr.userpwd?data->state.aptr.userpwd:"", in Curl_http() 3278 /* clear userpwd and proxyuserpwd to avoid reusing old credentials in Curl_http() 3280 Curl_safefree(data->state.aptr.userpwd); in Curl_http()
|
H A D | urldata.h | 1451 char *userpwd; member
|
H A D | url.c | 316 Curl_safefree(data->state.aptr.userpwd); in Curl_close()
|