aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-03-27 06:48:00 +0000
committerWerner Koch <[email protected]>2018-03-27 06:48:00 +0000
commitd4dc4245bf0221d2db4118718fc2528ecf43b97b (patch)
tree5912abc9b9ba056a882bcd933105ba4dde73c560 /agent/command-ssh.c
parentChange license of argparse.c back to LGPLv2.1 (diff)
parentagent: Make the request origin a part of the cache items. (diff)
downloadgnupg-d4dc4245bf0221d2db4118718fc2528ecf43b97b.tar.gz
gnupg-d4dc4245bf0221d2db4118718fc2528ecf43b97b.zip
Merge branch 'STABLE-BRANCH-2-2' into master
Diffstat (limited to 'agent/command-ssh.c')
-rw-r--r--agent/command-ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index 715544635..38934f450 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -3145,7 +3145,7 @@ ssh_identity_register (ctrl_t ctrl, ssh_key_type_spec_t *spec,
goto out;
/* Cache this passphrase. */
- err = agent_put_cache (key_grip, CACHE_MODE_SSH, pi->pin, ttl);
+ err = agent_put_cache (ctrl, key_grip, CACHE_MODE_SSH, pi->pin, ttl);
if (err)
goto out;