mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fix a bug where scdaemon kills a non-daemon gpg-agent.
Fix a passphrase cache annoyance.
This commit is contained in:
parent
2bd66b59a2
commit
46ef7f6243
7 changed files with 62 additions and 23 deletions
|
@ -407,8 +407,9 @@ unprotect (ctrl_t ctrl, const char *desc_text,
|
|||
return rc;
|
||||
}
|
||||
}
|
||||
agent_put_cache (hexgrip, cache_mode, pi->pin,
|
||||
lookup_ttl? lookup_ttl (hexgrip) : 0);
|
||||
else
|
||||
agent_put_cache (hexgrip, cache_mode, pi->pin,
|
||||
lookup_ttl? lookup_ttl (hexgrip) : 0);
|
||||
xfree (*keybuf);
|
||||
*keybuf = arg.unprotected_key;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue