mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent: Add option --force to the DELETE_KEY command.
* agent/findkey.c (agent_delete_key): Add arg "force". * agent/command.c (cmd_delete_key): Add option --force. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
9f31ab3d21
commit
a68c5c5c7f
3 changed files with 58 additions and 52 deletions
|
@ -386,7 +386,7 @@ gpg_error_t agent_key_info_from_file (ctrl_t ctrl, const unsigned char *grip,
|
|||
int *r_keytype,
|
||||
unsigned char **r_shadow_info);
|
||||
gpg_error_t agent_delete_key (ctrl_t ctrl, const char *desc_text,
|
||||
const unsigned char *grip);
|
||||
const unsigned char *grip, int force);
|
||||
|
||||
/*-- call-pinentry.c --*/
|
||||
void initialize_module_call_pinentry (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue