mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent: When the password cache is cleared, also clear the ext. cache.
* agent/agent.h (agent_clear_passphrase): New declaration. * agent/call-pinentry.c (agent_clear_passphrase): New function. * agent/command.c (cmd_clear_passphrase): Call agent_clear_passphrase. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
e201c20f25
commit
3a9305439b
3 changed files with 32 additions and 1 deletions
|
@ -374,7 +374,8 @@ int agent_show_message (ctrl_t ctrl, const char *desc, const char *ok_btn);
|
|||
int agent_popup_message_start (ctrl_t ctrl,
|
||||
const char *desc, const char *ok_btn);
|
||||
void agent_popup_message_stop (ctrl_t ctrl);
|
||||
|
||||
int agent_clear_passphrase (ctrl_t ctrl,
|
||||
const char *keyinfo, cache_mode_t cache_mode);
|
||||
|
||||
/*-- cache.c --*/
|
||||
void initialize_module_cache (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue