sc-hsm: fix signed char for ARM platforms
char is unsigned by default on ARM fix #450
This commit is contained in:
parent
c754e3f197
commit
0dba2d453f
|
@ -943,7 +943,7 @@ typedef struct sc_cardctl_sc_hsm_init_param {
|
||||||
size_t user_pin_len; /* Length of user PIN */
|
size_t user_pin_len; /* Length of user PIN */
|
||||||
u8 user_pin_retry_counter; /* Retry counter default value */
|
u8 user_pin_retry_counter; /* Retry counter default value */
|
||||||
u8 options[2]; /* Initialization options */
|
u8 options[2]; /* Initialization options */
|
||||||
char dkek_shares; /* Number of DKEK shares, 0 for card generated, -1 for none */
|
signed char dkek_shares; /* Number of DKEK shares, 0 for card generated, -1 for none */
|
||||||
char *label; /* Token label to be set in EF.TokenInfo (2F03) */
|
char *label; /* Token label to be set in EF.TokenInfo (2F03) */
|
||||||
} sc_cardctl_sc_hsm_init_param_t;
|
} sc_cardctl_sc_hsm_init_param_t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue