]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_auth_basic: Use unsigned bit flags (otherwise the non-zero value to be used is...
authorYann Ylavic <ylavic@apache.org>
Wed, 27 Mar 2024 14:33:00 +0000 (14:33 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 27 Mar 2024 14:33:00 +0000 (14:33 +0000)
Merge r1603863 from trunk.
Submitted by: ylavic
Reviewed by: ylavic, jorton, rpluem
Github: closes #425

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1916584 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth_basic.c

index 4e1d47f214ea26137f7c24d037826e80a92ba90c..c8c94925dc4c5a32ed941d13d9af674dc2b6e805 100644 (file)
@@ -40,9 +40,9 @@ typedef struct {
     ap_expr_info_t *fakeuser;
     ap_expr_info_t *fakepass;
     const char *use_digest_algorithm;
-    int fake_set:1;
-    int use_digest_algorithm_set:1;
-    int authoritative_set:1;
+    unsigned int fake_set:1,
+                 use_digest_algorithm_set:1,
+                 authoritative_set:1;
 } auth_basic_config_rec;
 
 static void *create_auth_basic_dir_config(apr_pool_t *p, char *d)