From 8cb0209022afa92b39d3a6e82be69a5211b79623 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 15 Jun 2012 16:46:59 +0900 Subject: [PATCH] scd: Fix merge mistake. * scd/iso7816.c (iso7816_reset_retry_counter): Implement. --- scd/iso7816.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scd/iso7816.c b/scd/iso7816.c index dd73fc61d..12daff9fb 100644 --- a/scd/iso7816.c +++ b/scd/iso7816.c @@ -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); }