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:
Daniel Stenberg 2022-08-08 13:16:52 +02:00
parent 0f23341953
commit a550831023
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;