summaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-04-01 18:34:19 +0200
committerWerner Koch <wk@gnupg.org>2019-04-01 18:34:19 +0200
commit334b16b868e771b983263ed20c200869e7e51198 (patch)
treeda35fb037b98a275568929bfd262f7e125d36db7 /g10/call-agent.h
parentgpg: Remove unused arg in a card related function. (diff)
downloadgnupg2-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/call-agent.h')
-rw-r--r--g10/call-agent.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h
index 4c4fb2d4d..86ee8a170 100644
--- a/g10/call-agent.h
+++ b/g10/call-agent.h
@@ -108,10 +108,6 @@ gpg_error_t agent_scd_setattr (const char *name,
int agent_scd_writecert (const char *certidstr,
const unsigned char *certdata, size_t certdatalen);
-/* Send a WRITEKEY command to the SCdaemon. */
-int agent_scd_writekey (int keyno, const char *serialno,
- const unsigned char *keydata, size_t keydatalen);
-
/* Send a GENKEY command to the SCdaemon. */
int agent_scd_genkey (int keyno, int force, u32 *createtime);
@@ -125,10 +121,6 @@ int agent_scd_change_pin (int chvno, const char *serialno);
/* Send the CHECKPIN command to the SCdaemon. */
int agent_scd_checkpin (const char *serialno);
-/* Dummy function, only implemented by gpg 1.4. */
-void agent_clear_pin_cache (const char *sn);
-
-
/* Send the GET_PASSPHRASE command to the agent. */
gpg_error_t agent_get_passphrase (const char *cache_id,
const char *err_msg,