1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-29 02:22:45 +02: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 d138fe5c30
commit 3e39a9aeaa

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);
}