diff options
author | NIIBE Yutaka <[email protected]> | 2012-06-15 07:46:59 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2012-06-25 01:04:23 +0000 |
commit | 8cb0209022afa92b39d3a6e82be69a5211b79623 (patch) | |
tree | ca953529482bfa390549762552b59fd3aea10320 | |
parent | scd: Prefer application Geldkarte over DINSIG. (diff) | |
download | gnupg-8cb0209022afa92b39d3a6e82be69a5211b79623.tar.gz gnupg-8cb0209022afa92b39d3a6e82be69a5211b79623.zip |
scd: Fix merge mistake.
* scd/iso7816.c (iso7816_reset_retry_counter): Implement.
-rw-r--r-- | scd/iso7816.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); } |