diff options
author | NIIBE Yutaka <[email protected]> | 2015-04-03 08:33:11 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2015-04-03 08:33:11 +0000 |
commit | 4ffadb74b3ada8a5d69ef8d87f4326df9bd97e97 (patch) | |
tree | 4081a136e6da908756c76123dc8eeda924bd3953 /agent/agent.h | |
parent | dirmngr: Don't use alloca. (diff) | |
download | gnupg-4ffadb74b3ada8a5d69ef8d87f4326df9bd97e97.tar.gz gnupg-4ffadb74b3ada8a5d69ef8d87f4326df9bd97e97.zip |
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.
--
Diffstat (limited to 'agent/agent.h')
-rw-r--r-- | agent/agent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/agent.h b/agent/agent.h index f60061e6f..d61e6346e 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -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 --*/ |