summaryrefslogtreecommitdiff
path: root/lib/vauth
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2017-09-06 02:22:49 -0400
committerJay Satiro <raysatiro@yahoo.com>2017-09-06 02:27:33 -0400
commit61825be02ba3d86dcf6ce8c3854d31d212796094 (patch)
tree0709880bdd0adc2616fd2ab7b3835dda4518df8d /lib/vauth
parent6cdba64e13f9599db49e507418ab5571a2f42d4f (diff)
downloadcurl-61825be02ba3d86dcf6ce8c3854d31d212796094.tar.gz
vtls: select ssl backend case-insensitive (follow-up)
- Do a case-insensitive comparison of CURL_SSL_BACKEND env as well. - Change Curl_strcasecompare calls to strcasecompare (maps to the former but shorter). Follow-up to c290b8f. Bug: https://github.com/curl/curl/commit/c290b8f#commitcomment-24094313 Co-authored-by: Jay Satiro
Diffstat (limited to 'lib/vauth')
-rw-r--r--lib/vauth/digest_sspi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vauth/digest_sspi.c b/lib/vauth/digest_sspi.c
index f5d619c99..a3f96ed24 100644
--- a/lib/vauth/digest_sspi.c
+++ b/lib/vauth/digest_sspi.c
@@ -352,8 +352,8 @@ CURLcode Curl_auth_decode_digest_http_message(const char *chlg,
if(!Curl_auth_digest_get_pair(p, value, content, &p))
break;
- if(Curl_strcasecompare(value, "stale")
- && Curl_strcasecompare(content, "true")) {
+ if(strcasecompare(value, "stale") &&
+ strcasecompare(content, "true")) {
stale = true;
break;
}