]> granicus.if.org Git - apache/commit
Fix a bug in authz logic merging which caused
authorStefan Fritsch <sf@apache.org>
Sat, 8 Jan 2011 14:29:12 +0000 (14:29 +0000)
committerStefan Fritsch <sf@apache.org>
Sat, 8 Jan 2011 14:29:12 +0000 (14:29 +0000)
commit4545ed5fcc08e102f4b4c39ff60f107abb5dfb5e
treeb1cfefe3edd43bb540e4aa8b8bd2f67c803ceaff
parent85935abb610b385f3b9a8c55faff7db0e27b5f48
Fix a bug in authz logic merging which caused
        section->op == AUTHZ_LOGIC_AND
        auth_result == AUTHZ_DENIED_NO_USER
        child_result == AUTHZ_GRANTED
to return AUTHZ_GRANTED instead of AUTHZ_DENIED_NO_USER.

While there, refactor the if blocks to make them a bit more readable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1056713 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/aaa/mod_authz_core.c