mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* pksign.c (agent_pksign): Detect whether a Smartcard is to be
used and divert the operation in this case. * pkdecrypt.c (agent_pkdecrypt): Likewise * findkey.c (agent_key_from_file): Add optional arg shadow_info and have it return information about a shadowed key. * protect.c (agent_get_shadow_info): New. * protect.c (snext,sskip,smatch): Moved to * sexp-parse.h: new file. * divert-scd.c: New.
This commit is contained in:
parent
f8efc7c4ef
commit
9301f1cf69
8 changed files with 198 additions and 80 deletions
|
@ -472,7 +472,7 @@ cmd_learn (ASSUAN_CONTEXT ctx, char *line)
|
|||
{
|
||||
int rc;
|
||||
|
||||
rc = agent_learn_card ();
|
||||
rc = agent_card_learn ();
|
||||
if (rc)
|
||||
log_error ("agent_learn_card failed: %s\n", gnupg_strerror (rc));
|
||||
return map_to_assuan_status (rc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue