httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1756843 - /httpd/httpd/trunk/modules/aaa/mod_auth_digest.c
Date Thu, 18 Aug 2016 20:13:17 GMT
Author: jailletc36
Date: Thu Aug 18 20:13:17 2016
New Revision: 1756843

URL: http://svn.apache.org/viewvc?rev=1756843&view=rev
Log:
Fix some missed "strcasecmp <--> ap_cstr_casecmp" conversions.

Modified:
    httpd/httpd/trunk/modules/aaa/mod_auth_digest.c

Modified: httpd/httpd/trunk/modules/aaa/mod_auth_digest.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_auth_digest.c?rev=1756843&r1=1756842&r2=1756843&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_auth_digest.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_auth_digest.c Thu Aug 18 20:13:17 2016
@@ -529,13 +529,13 @@ static const char *set_qop(cmd_parms *cm
 {
     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_parm
 
 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";
     }



Mime
View raw message