From: Nikos Mavrogiannopoulos Date: Thu, 16 Jun 2011 18:19:30 +0000 (+0200) Subject: bit fields changed to unsigned. X-Git-Tag: gnutls_2_99_3~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=774369a90aed872ea37b493cb3724cddcfef3f22;p=thirdparty%2Fgnutls.git bit fields changed to unsigned. --- 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;