Remove unused stored_length field.

This commit is contained in:
Zoltan Kelemen 2020-07-05 06:23:25 +02:00 committed by Jakub Jelen
parent 48d939b057
commit 6e3e81a9f4
2 changed files with 0 additions and 2 deletions

View File

@ -1031,7 +1031,6 @@ static int gids_get_pin_policy(struct sc_card *card, struct sc_pin_cmd_data *dat
LOG_TEST_RET(card->ctx, r, "gids_get_pin_status failed");
data->pin1.max_length = 16;
data->pin1.min_length = 4;
data->pin1.stored_length = 0;
data->pin1.encoding = SC_PIN_ENCODING_ASCII;
data->pin1.offset = 5;
data->pin1.logged_in = SC_PIN_STATE_UNKNOWN;

View File

@ -437,7 +437,6 @@ struct sc_pin_cmd_pin {
size_t min_length; /* min length of PIN */
size_t max_length; /* max length of PIN */
size_t stored_length; /* stored length of PIN */
unsigned int encoding; /* ASCII-numeric, BCD, etc */