mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent: Add --force option for LEARN.
* agent/command.c (cmd_learn): Handle --force option. (cmd_keytocard): Don't update key storage file. * agent/agent.h (agent_handle_learn): Add FORCE. * agent/learncard.c (agent_handle_learn): Implement FORCE to update key stroage file. --
This commit is contained in:
parent
d0ff2ee041
commit
4ffadb74b3
3 changed files with 10 additions and 50 deletions
|
@ -495,7 +495,7 @@ int agent_card_scd (ctrl_t ctrl, const char *cmdline,
|
|||
|
||||
|
||||
/*-- learncard.c --*/
|
||||
int agent_handle_learn (ctrl_t ctrl, int send, void *assuan_context);
|
||||
int agent_handle_learn (ctrl_t ctrl, int send, void *assuan_context, int force);
|
||||
|
||||
|
||||
/*-- cvt-openpgp.c --*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue