aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-10-08 10:46:58 +0000
committerWerner Koch <[email protected]>2003-10-08 10:46:58 +0000
commit30342b06efcc779b9222513d8dbfb85436ab624c (patch)
tree2e0aef9b5c20a30dfa1ceb9ce60098a66f37e500 /g10/call-agent.c
parentFixes to make inclusion of card raleted source files into 1.3 easier. (diff)
downloadgnupg-30342b06efcc779b9222513d8dbfb85436ab624c.tar.gz
gnupg-30342b06efcc779b9222513d8dbfb85436ab624c.zip
* call-agent.c (agent_scd_getattr): Don't clear the passed info
structure, so that it can indeed be updated. * card-util.c (fpr_is_zero): New. (generate_card_keys): New. (card_edit): New command "generate". * keygen.c (generate_keypair): New arg CARD_SERIALNO, removed call to check_smartcard. (check_smartcard,show_smartcard): Removed. (show_sha1_fpr,fpr_is_zero): Removed. * app-openpgp.c (do_getattr): Support SERIALNO and AID.
Diffstat (limited to 'g10/call-agent.c')
-rw-r--r--g10/call-agent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c
index f07c01f2a..c6c8faaec 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -600,7 +600,6 @@ agent_scd_getattr (const char *name, struct agent_card_info_s *info)
if (rc)
return rc;
- memset (info, 0, sizeof *info);
rc = assuan_transact (agent_ctx, line, NULL, NULL, NULL, NULL,
learn_status_cb, info);