]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
bit fields changed to unsigned.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 16 Jun 2011 18:19:30 +0000 (20:19 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 16 Jun 2011 18:19:30 +0000 (20:19 +0200)
lib/algorithms/ciphersuites.c
lib/ext/safe_renegotiation.h

index 3946cb799ca4f7bd78feb18bbadd9f9d8ca9035c..8245fcaeacc99231c55400ab36b02619945104db 100644 (file)
@@ -52,7 +52,7 @@ typedef struct
                                          * from 'version' and above;
                                          */
   gnutls_protocol_t max_version;        /* this cipher suite is not supported after that */
-  int dtls:1; /* whether this ciphersuite is valid in DTLS */
+  unsigned int dtls:1; /* whether this ciphersuite is valid in DTLS */
   gnutls_mac_algorithm_t prf;
 } gnutls_cipher_suite_entry;
 
index 4cef706a36469122afe8942687219347bfaa00bc..e87134b8ca86f84fb130fbc1feff8a4fdb6d4e7a 100644 (file)
@@ -36,9 +36,9 @@ typedef struct
   uint8_t ri_extension_data[MAX_VERIFY_DATA_SIZE * 2];  /* max signal is 72 bytes in s->c sslv3 */
   size_t ri_extension_data_len;
 
-  int safe_renegotiation_received:1;
-  int initial_negotiation_completed:1;
-  int connection_using_safe_renegotiation:1;
+  unsigned int safe_renegotiation_received:1;
+  unsigned int initial_negotiation_completed:1;
+  unsigned int connection_using_safe_renegotiation:1;
 } sr_ext_st;
 
 extern extension_entry_st ext_mod_sr;