Skip to content

Commit fca723e

Browse files
committed
mod_auth_basic: Use unsigned bit flags (otherwise the non-zero value to be used is -1).
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
1 parent 4d86b01 commit fca723e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/aaa/mod_auth_basic.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ typedef struct {
4040
ap_expr_info_t *fakeuser;
4141
ap_expr_info_t *fakepass;
4242
const char *use_digest_algorithm;
43-
int fake_set:1;
44-
int use_digest_algorithm_set:1;
45-
int authoritative_set:1;
43+
unsigned int fake_set:1,
44+
use_digest_algorithm_set:1,
45+
authoritative_set:1;
4646
} auth_basic_config_rec;
4747

4848
static void *create_auth_basic_dir_config(apr_pool_t *p, char *d)

0 commit comments

Comments
 (0)