diff options
author | Werner Koch <wk@gnupg.org> | 2019-04-01 18:34:19 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2019-04-01 18:34:19 +0200 |
commit | 334b16b868e771b983263ed20c200869e7e51198 (patch) | |
tree | da35fb037b98a275568929bfd262f7e125d36db7 /g10/card-util.c | |
parent | gpg: Remove unused arg in a card related function. (diff) | |
download | gnupg2-334b16b868e771b983263ed20c200869e7e51198.tar.xz gnupg2-334b16b868e771b983263ed20c200869e7e51198.zip |
gpg: Remove two unused card related functions.
* g10/call-agent.c (inq_writekey_parms): Remove.
(agent_scd_writekey): Remove.
(agent_clear_pin_cache): Remove this stub.
Diffstat (limited to 'g10/card-util.c')
-rw-r--r-- | g10/card-util.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/g10/card-util.c b/g10/card-util.c index f4054a9fd..f9cce33ee 100644 --- a/g10/card-util.c +++ b/g10/card-util.c @@ -91,8 +91,6 @@ change_pin (int unblock_v2, int allow_admin) log_info (_("OpenPGP card no. %s detected\n"), info.serialno? info.serialno : "[none]"); - agent_clear_pin_cache (info.serialno); - if (opt.batch) { agent_release_card_info (&info); @@ -1285,8 +1283,6 @@ check_pin_for_key_operation (struct agent_card_info_s *info, int *forced_chv1) { int rc = 0; - agent_clear_pin_cache (info->serialno); - *forced_chv1 = !info->chv1_cached; if (*forced_chv1) { /* Switch off the forced mode so that during key generation we |