mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
scd: Fix merge mistake.
* scd/iso7816.c (iso7816_reset_retry_counter): Implement.
This commit is contained in:
parent
d138fe5c30
commit
3e39a9aeaa
@ -374,7 +374,11 @@ gpg_error_t
|
|||||||
iso7816_reset_retry_counter (int slot, int chvno,
|
iso7816_reset_retry_counter (int slot, int chvno,
|
||||||
const char *newchv, size_t newchvlen)
|
const char *newchv, size_t newchvlen)
|
||||||
{
|
{
|
||||||
return iso7816_reset_retry_counter_kp (slot, chvno, newchv, newchvlen, NULL);
|
int sw;
|
||||||
|
|
||||||
|
sw = apdu_send_simple (slot, 0, 0x00, CMD_RESET_RETRY_COUNTER,
|
||||||
|
2, chvno, newchvlen, newchv);
|
||||||
|
return map_sw (sw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user