1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

scd: Fix merge mistake.

* scd/iso7816.c (iso7816_reset_retry_counter): Implement.
This commit is contained in:
NIIBE Yutaka 2012-06-15 16:46:59 +09:00
parent d7fd48db18
commit 8cb0209022

View File

@ -374,7 +374,11 @@ gpg_error_t
iso7816_reset_retry_counter (int slot, int chvno,
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);
}