You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2024/03/27 14:33:00 UTC
svn commit: r1916584 - in /httpd/httpd/branches/2.4.x: ./ modules/aaa/mod_auth_basic.c
Author: ylavic
Date: Wed Mar 27 14:33:00 2024
New Revision: 1916584
URL: http://svn.apache.org/viewvc?rev=1916584&view=rev
Log:
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
Modified:
httpd/httpd/branches/2.4.x/ (props changed)
httpd/httpd/branches/2.4.x/modules/aaa/mod_auth_basic.c
Propchange: httpd/httpd/branches/2.4.x/
------------------------------------------------------------------------------
Merged /httpd/httpd/trunk:r1603863
Modified: httpd/httpd/branches/2.4.x/modules/aaa/mod_auth_basic.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/aaa/mod_auth_basic.c?rev=1916584&r1=1916583&r2=1916584&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/aaa/mod_auth_basic.c (original)
+++ httpd/httpd/branches/2.4.x/modules/aaa/mod_auth_basic.c Wed Mar 27 14:33:00 2024
@@ -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)