diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2005-12-20 18:10:38 +0100 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2005-12-20 18:10:38 +0100 |
commit | 783d5b0dc1fd9da7c8576907f4faaa8b3454623e (patch) | |
tree | f27d27fa758b6b045f98436001bb845329d58bd3 /modules/aaa/mod_authnz_ldap.c | |
parent | Morph the ap_http_broken_backend_filter() proxy "specific" (diff) | |
download | apache2-783d5b0dc1fd9da7c8576907f4faaa8b3454623e.tar.xz apache2-783d5b0dc1fd9da7c8576907f4faaa8b3454623e.zip |
This shift was treated in 32 bit scope, then masked to 64 bits,
which was probably quite uncool.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@358040 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa/mod_authnz_ldap.c')
-rw-r--r-- | modules/aaa/mod_authnz_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aaa/mod_authnz_ldap.c b/modules/aaa/mod_authnz_ldap.c index 586f80bf43..edce66563c 100644 --- a/modules/aaa/mod_authnz_ldap.c +++ b/modules/aaa/mod_authnz_ldap.c @@ -576,7 +576,7 @@ static int authz_ldap_check_user_access(request_rec *r) /* Loop through the requirements array until there's no elements * left, or something causes a return from inside the loop */ for(x=0; x < reqs_arr->nelts; x++) { - if (! (reqs[x].method_mask & (1 << m))) { + if (! (reqs[x].method_mask & (APR_INT64_C(1) << m))) { continue; } method_restricted = 1; |