From 2beaed5d991f17cc239cf9baaad542ad0647af28 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 4 Dec 2017 06:43:58 +0000 Subject: 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 --- modules/aaa/mod_auth_basic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ":", -- cgit v1.2.3