sc-hsm: fix signed char for ARM platforms

char is unsigned by default on ARM

fix #450
This commit is contained in:
Andreas Schwier 2015-04-27 22:31:19 +02:00 committed by Viktor Tarasov
parent c754e3f197
commit 0dba2d453f
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ typedef struct sc_cardctl_sc_hsm_init_param {
size_t user_pin_len; /* Length of user PIN */
u8 user_pin_retry_counter; /* Retry counter default value */
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) */
} sc_cardctl_sc_hsm_init_param_t;