aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-07-18 10:51:38 +0000
committerJustus Winter <[email protected]>2016-07-18 10:51:38 +0000
commitf474249366e8e143c8e6eb7f7b1a74056e46fa1f (patch)
treec0c74ceda31546bcd8f2797ca8b77350fb8c1551 /agent/command-ssh.c
parentbuild: Always build gpgtar. (diff)
downloadgnupg-f474249366e8e143c8e6eb7f7b1a74056e46fa1f.tar.gz
gnupg-f474249366e8e143c8e6eb7f7b1a74056e46fa1f.zip
agent: Fix passphrase cache lookups.
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]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions