summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-16 20:19:30 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-16 20:19:30 +0200
commit774369a90aed872ea37b493cb3724cddcfef3f22 (patch)
tree2b5dcd194ee2dd47b0026ddc7f340dc20e00d5dc
parent86a1c9f6a600eeb2e53b43ee13069f7a48e60139 (diff)
downloadgnutls-774369a90aed872ea37b493cb3724cddcfef3f22.tar.gz
bit fields changed to unsigned.
-rw-r--r--lib/algorithms/ciphersuites.c2
-rw-r--r--lib/ext/safe_renegotiation.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/algorithms/ciphersuites.c b/lib/algorithms/ciphersuites.c
index 3946cb799c..8245fcaeac 100644
--- a/lib/algorithms/ciphersuites.c
+++ b/lib/algorithms/ciphersuites.c
@@ -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;
diff --git a/lib/ext/safe_renegotiation.h b/lib/ext/safe_renegotiation.h
index 4cef706a36..e87134b8ca 100644
--- a/lib/ext/safe_renegotiation.h
+++ b/lib/ext/safe_renegotiation.h
@@ -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;