Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 432B9200B78 for ; Thu, 18 Aug 2016 22:13:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 41EC6160A86; Thu, 18 Aug 2016 20:13:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8568C160AAE for ; Thu, 18 Aug 2016 22:13:22 +0200 (CEST) Received: (qmail 186 invoked by uid 500); 18 Aug 2016 20:13:21 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 177 invoked by uid 99); 18 Aug 2016 20:13:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2016 20:13:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5615B1A029A for ; Thu, 18 Aug 2016 20:13:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.426 X-Spam-Level: X-Spam-Status: No, score=-0.426 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id BcLQNRSiEOcB for ; Thu, 18 Aug 2016 20:13:20 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 01CFC5FB25 for ; Thu, 18 Aug 2016 20:13:20 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 14D8AE0054 for ; Thu, 18 Aug 2016 20:13:18 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 715D93A0016 for ; Thu, 18 Aug 2016 20:13:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1756843 - /httpd/httpd/trunk/modules/aaa/mod_auth_digest.c Date: Thu, 18 Aug 2016 20:13:17 -0000 To: cvs@httpd.apache.org From: jailletc36@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160818201318.715D93A0016@svn01-us-west.apache.org> archived-at: Thu, 18 Aug 2016 20:13:23 -0000 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"; }