Skip to content

Commit

Permalink
Address more review comments
Browse files Browse the repository at this point in the history
Change-Id: I7ca63b19bee23672c471bbbdce613298e8ef8015
  • Loading branch information
martinpaljak committed Apr 25, 2019
1 parent 887b68f commit b3bc2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libopensc/card-esteid2018.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ static int esteid_get_pin_remaining_tries(sc_card_t *card, int pin_reference) {

// XXX: sc_asn1_find_tag with the following payload (to get to tag 0x9B):
// https://lapo.it/asn1js/#cB6_gQEaoBiaAQObAQOhEIwG8wAAc0MAnAbzAABzQwA
return apdu_resp[13];
return (int)apdu_resp[13];
}

static int esteid_pin_cmd(sc_card_t *card, struct sc_pin_cmd_data *data, int *tries_left) {
Expand Down

0 comments on commit b3bc2ca

Please sign in to comment.