[rs-commit] r477 - in /mod_ca/trunk: ChangeLog mod_ca_simple.c

rs-commit at redwax.eu rs-commit at redwax.eu
Wed Oct 16 11:18:15 CEST 2024


Author: minfrin at redwax.eu
Date: Wed Oct 16 11:18:14 2024
New Revision: 477

Log:
mod_ca_simple: Fix signedness warnings related to bitwise
flags.

Modified:
    mod_ca/trunk/ChangeLog
    mod_ca/trunk/mod_ca_simple.c

Modified: mod_ca/trunk/ChangeLog
==============================================================================
--- mod_ca/trunk/ChangeLog	(original)
+++ mod_ca/trunk/ChangeLog	Wed Oct 16 11:18:14 2024
@@ -1,5 +1,8 @@
 
 Changes with v0.2.4
+
+ *) mod_ca_simple: Fix signedness warnings related to bitwise
+    flags. [Graham Leggett]
 
  *) mod_ca_ldap: Fix a stack overflow when escaping an LDAP
     distinguished name with characters outside the ASCII set.

Modified: mod_ca/trunk/mod_ca_simple.c
==============================================================================
--- mod_ca/trunk/mod_ca_simple.c	(original)
+++ mod_ca/trunk/mod_ca_simple.c	Wed Oct 16 11:18:14 2024
@@ -48,15 +48,15 @@
 
 typedef struct
 {
-    int signer_set :1;
-    int next_signer_set :1;
-    int key_set :1;
-    int days_set :1;
-    int serial_random_set :1;
-    int serial_subject_set :1;
-    int time_set :1;
-    int ext_set :1;
-    int pkey_ctx_set :1;
+    unsigned int signer_set :1;
+    unsigned int next_signer_set :1;
+    unsigned int key_set :1;
+    unsigned int days_set :1;
+    unsigned int serial_random_set :1;
+    unsigned int serial_subject_set :1;
+    unsigned int time_set :1;
+    unsigned int ext_set :1;
+    unsigned int pkey_ctx_set :1;
     X509 *signer;
     X509 *signer_ca;
     X509 *next_signer;



More information about the rs-commit mailing list