mirror of
https://github.com/curl/curl.git
synced 2026-06-09 11:14:18 +03:00
drop redundant parenthesis, cleanup comment
This commit is contained in:
parent
af982387a2
commit
6455805b88
4 changed files with 9 additions and 8 deletions
|
|
@ -103,7 +103,7 @@ static CURLcode test_lib547(char *URL)
|
|||
test_setopt(curl, CURLOPT_PROXY, libtest_arg2);
|
||||
test_setopt(curl, CURLOPT_PROXYUSERPWD, libtest_arg3);
|
||||
test_setopt(curl, CURLOPT_PROXYAUTH,
|
||||
(CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM));
|
||||
CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM);
|
||||
|
||||
res = curl_easy_perform(curl);
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ static CURLcode test_lib555(char *URL)
|
|||
easy_setopt(curl, CURLOPT_PROXY, libtest_arg2);
|
||||
easy_setopt(curl, CURLOPT_PROXYUSERPWD, libtest_arg3);
|
||||
easy_setopt(curl, CURLOPT_PROXYAUTH,
|
||||
(CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM));
|
||||
CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM);
|
||||
|
||||
multi_init(m);
|
||||
|
||||
|
|
|
|||
|
|
@ -29,10 +29,11 @@
|
|||
|
||||
It is reproducible by the following steps:
|
||||
|
||||
- Use a proxy that offers NTLM and Negotiate ( CURLOPT_PROXY and
|
||||
CURLOPT_PROXYPORT)
|
||||
- Tell libcurl NOT to use Negotiate CURL_EASY_SETOPT(CURLOPT_PROXYAUTH,
|
||||
CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM)
|
||||
- Use a proxy that offers NTLM and Negotiate
|
||||
(CURLOPT_PROXY and CURLOPT_PROXYPORT)
|
||||
- Tell libcurl NOT to use Negotiate
|
||||
curl_easy_setopt(CURLOPT_PROXYAUTH,
|
||||
CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM)
|
||||
- Start the request
|
||||
*/
|
||||
|
||||
|
|
@ -59,7 +60,7 @@ static CURLcode test_lib590(char *URL)
|
|||
test_setopt(curl, CURLOPT_URL, URL);
|
||||
test_setopt(curl, CURLOPT_HEADER, 1L);
|
||||
test_setopt(curl, CURLOPT_PROXYAUTH,
|
||||
(CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM));
|
||||
CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM);
|
||||
test_setopt(curl, CURLOPT_PROXY, libtest_arg2); /* set in first.c */
|
||||
|
||||
/* set the name + password twice to test that the API is fine with it */
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ static CURLcode test_lib694(char *URL)
|
|||
test_setopt(curl, CURLOPT_HEADER, 1L);
|
||||
test_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
test_setopt(curl, CURLOPT_HTTPAUTH,
|
||||
(CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM));
|
||||
CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_NTLM);
|
||||
test_setopt(curl, CURLOPT_USERPWD, "me:password");
|
||||
|
||||
do {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue