mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Re-implemented GPG's --passwd command and improved it.
This commit is contained in:
parent
c212133918
commit
02e4c3cb7e
18 changed files with 696 additions and 571 deletions
|
@ -284,7 +284,7 @@ agent_put_cache (const char *key, cache_mode_t cache_mode,
|
|||
default: ttl = opt.def_cache_ttl; break;
|
||||
}
|
||||
}
|
||||
if (!ttl || cache_mode == CACHE_MODE_IGNORE)
|
||||
if ((!ttl && data) || cache_mode == CACHE_MODE_IGNORE)
|
||||
return 0;
|
||||
|
||||
for (r=thecache; r; r = r->next)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue