aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/issue2015.scm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* agent: Fix passphrase cache lookups.Justus Winter2016-07-181-0/+29
CACHE_MODE_ANY is supposed to match any cache mode except CACHE_MODE_IGNORE, but the code used '==' to compare cache modes. * agent/cache.c (cache_mode_equal): New function. (agent_set_cache): Use the new function to compare cache modes. (agent_get_cache): Likewise. * tests/openpgp/Makefile.am (TESTS): Add new test. * tests/openpgp/issue2015.scm: New file. GnuPG-bug-id: 2015 Signed-off-by: Justus Winter <[email protected]>