aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2016-10-31 12:42:47 +0100
committerDan Fandrich <dan@coneharvesters.com>2016-10-31 12:44:18 +0100
commit52a2c2fb51ef687332020782b76cd1826d7ddd05 (patch)
tree67ec511d7e89050f8b6f89c6c9755c54da0f93fe /tests/libtest
parent9934f4fe9f5695e084aaa63d9a997f7e89a8ef12 (diff)
libauthretry: use the external function curl_strequal
The internal version strcasecompare isn't available outside libcurl
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/libauthretry.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/libtest/libauthretry.c b/tests/libtest/libauthretry.c
index 7e3025df8..487eb8938 100644
--- a/tests/libtest/libauthretry.c
+++ b/tests/libtest/libauthretry.c
@@ -25,7 +25,6 @@
*/
#include "test.h"
-#include "strcase.h"
#include "memdebug.h"
static CURLcode send_request(CURL *curl, const char *url, int seq,
@@ -72,11 +71,11 @@ static long parse_auth_name(const char *arg)
{
if(!arg)
return CURLAUTH_NONE;
- if(strcasecompare(arg, "basic"))
+ if(curl_strequal(arg, "basic"))
return CURLAUTH_BASIC;
- if(strcasecompare(arg, "digest"))
+ if(curl_strequal(arg, "digest"))
return CURLAUTH_DIGEST;
- if(strcasecompare(arg, "ntlm"))
+ if(curl_strequal(arg, "ntlm"))
return CURLAUTH_NTLM;
return CURLAUTH_NONE;
}