]> granicus.if.org Git - apache/commitdiff
Fix some missed "strcasecmp <--> ap_cstr_casecmp" conversions.
authorChristophe Jaillet <jailletc36@apache.org>
Thu, 18 Aug 2016 20:13:17 +0000 (20:13 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Thu, 18 Aug 2016 20:13:17 +0000 (20:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756843 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth_digest.c

index a4ab33cbc4e243a1ec1b5f671d98f00edf31c866..d9b6f3410f82e553f72c6cee67047fb410062b92 100644 (file)
@@ -529,13 +529,13 @@ static const char *set_qop(cmd_parms *cmd, void *config, const char *op)
 {
     digest_config_rec *conf = (digest_config_rec *) config;
 
-    if (!strcasecmp(op, "none")) {
+    if (!ap_cstr_casecmp(op, "none")) {
         apr_array_clear(conf->qop_list);
         *(const char **)apr_array_push(conf->qop_list) = "none";
         return NULL;
     }
 
-    if (!strcasecmp(op, "auth-int")) {
+    if (!ap_cstr_casecmp(op, "auth-int")) {
         return "AuthDigestQop auth-int is not implemented";
     }
     else if (ap_cstr_casecmp(op, "auth")) {
@@ -586,7 +586,7 @@ static const char *set_nc_check(cmd_parms *cmd, void *config, int flag)
 
 static const char *set_algorithm(cmd_parms *cmd, void *config, const char *alg)
 {
-    if (!strcasecmp(alg, "MD5-sess")) {
+    if (!ap_cstr_casecmp(alg, "MD5-sess")) {
         return "AuthDigestAlgorithm: ERROR: algorithm `MD5-sess' "
                 "is not implemented";
     }