summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2017-12-04 07:43:58 +0100
committerChristophe Jaillet <jailletc36@apache.org>2017-12-04 07:43:58 +0100
commit2beaed5d991f17cc239cf9baaad542ad0647af28 (patch)
tree44515498c9e62ed7a831a92123a038e12cb659a7
parentDocumentation rebuild (diff)
downloadapache2-2beaed5d991f17cc239cf9baaad542ad0647af28.tar.xz
apache2-2beaed5d991f17cc239cf9baaad542ad0647af28.zip
Use ap_cstr_casecmp instead of strcasecmp.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1817063 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/aaa/mod_auth_basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aaa/mod_auth_basic.c b/modules/aaa/mod_auth_basic.c
index 3a4a142737..5b32e00620 100644
--- a/modules/aaa/mod_auth_basic.c
+++ b/modules/aaa/mod_auth_basic.c
@@ -320,7 +320,7 @@ static int authenticate_basic_user(request_rec *r)
}
if (conf->use_digest_algorithm
- && !strcasecmp(conf->use_digest_algorithm, "MD5")) {
+ && !ap_cstr_casecmp(conf->use_digest_algorithm, "MD5")) {
realm = ap_auth_name(r);
digest = ap_md5(r->pool,
(unsigned char *)apr_pstrcat(r->pool, sent_user, ":",