[rs-commit] r511 - /mod_ca/trunk/mod_ca_ldap.c

rs-commit at redwax.eu rs-commit at redwax.eu
Thu Sep 11 10:52:51 CEST 2025


Author: minfrin at redwax.eu
Date: Thu Sep 11 10:52:50 2025
New Revision: 511

Log:
Bit fields are unsigned.

Modified:
    mod_ca/trunk/mod_ca_ldap.c

Modified: mod_ca/trunk/mod_ca_ldap.c
==============================================================================
--- mod_ca/trunk/mod_ca_ldap.c	(original)
+++ mod_ca/trunk/mod_ca_ldap.c	Thu Sep 11 10:52:50 2025
@@ -75,30 +75,31 @@
     int scope; /* Scope of the search */
     char *filter; /* Filter to further limit the search  */
     int secure; /* True if SSL connections are requested */
-    int url_set:1; /* Set if we have found an LDAP url */
     const char *binddn; /* DN to bind to server (can be NULL) */
-    int binddn_set:1;
     const char *bindpw; /* Password to bind to server (can be NULL) */
-    int bindpw_set:1;
     const char *pass_attribute; /* Password attribute to remove */
-    int pass_attribute_set:1;
     const char *pass_objectclass; /* Password objectclass to remove */
-    int pass_objectclass_set:1;
     const char *cert_attribute; /* Certificate attribute to add */
-    int cert_attribute_set:1;
     const char *cert_objectclass; /* Certificate objectclass to add */
-    int cert_objectclass_set:1;
     const char *path_attribute; /* Path attribute to add */
-    int path_attribute_set:1;
     const char *path_objectclass; /* Path objectclass to add */
-    int path_objectclass_set:1;
     struct timeval *op_timeout; /* timeout to use */
-    int op_timeout_set:1;
 
     apr_hash_t *subject; /* map of cert elements to ldap elements */
-    int subject_set:1;
     apr_hash_t *subjectaltname; /* map of cert elements to ldap elements */
-    int subjectaltname_set:1;
+
+    unsigned int url_set:1; /* Set if we have found an LDAP url */
+    unsigned int binddn_set:1;
+    unsigned int bindpw_set:1;
+    unsigned int pass_attribute_set:1;
+    unsigned int pass_objectclass_set:1;
+    unsigned int cert_attribute_set:1;
+    unsigned int cert_objectclass_set:1;
+    unsigned int path_attribute_set:1;
+    unsigned int path_objectclass_set:1;
+    unsigned int op_timeout_set:1;
+    unsigned int subject_set:1;
+    unsigned int subjectaltname_set:1;
 
 } ca_ldap_config_rec;
 



More information about the rs-commit mailing list