mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
urldata: make three *_proto struct fields smaller
Use 'unsigned char' for storage instead of the enum, for three GSSAPI related fields in the connectdata struct. Closes #9278
This commit is contained in:
parent
0f23341953
commit
a550831023
@ -1018,9 +1018,9 @@ struct connectdata {
|
||||
|
||||
#ifdef HAVE_GSSAPI
|
||||
BIT(sec_complete); /* if Kerberos is enabled for this connection */
|
||||
enum protection_level command_prot;
|
||||
enum protection_level data_prot;
|
||||
enum protection_level request_data_prot;
|
||||
unsigned char command_prot; /* enum protection_level */
|
||||
unsigned char data_prot; /* enum protection_level */
|
||||
unsigned char request_data_prot; /* enum protection_level */
|
||||
size_t buffer_size;
|
||||
struct krb5buffer in_buffer;
|
||||
void *app_data;
|
||||
|
Loading…
Reference in New Issue
Block a user