Use unsigned bitfield for 1-bit values
This commit is contained in:
parent
9efc3f2a4b
commit
8d6399e455
2 changed files with 5 additions and 5 deletions
|
@ -76,9 +76,9 @@ struct tls_connection {
|
|||
u8 *session_ticket;
|
||||
size_t session_ticket_len;
|
||||
|
||||
int ca_cert_verify:1;
|
||||
int cert_probe:1;
|
||||
int server_cert_only:1;
|
||||
unsigned int ca_cert_verify:1;
|
||||
unsigned int cert_probe:1;
|
||||
unsigned int server_cert_only:1;
|
||||
|
||||
u8 srv_cert_hash[32];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue