aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-06-07 19:09:18 +0000
committerWerner Koch <[email protected]>2005-06-07 19:09:18 +0000
commit33701641829798ddd7fced64cf9a504cc5f48cc1 (patch)
treea2a787141e9fa5ff1cedd913bd2d3950750503ce /agent/command-ssh.c
parent2005-06-04 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-33701641829798ddd7fced64cf9a504cc5f48cc1.tar.gz
gnupg-33701641829798ddd7fced64cf9a504cc5f48cc1.zip
New debugging optionhs, updates to the manual.
Diffstat (limited to '')
-rw-r--r--agent/command-ssh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index 030cc70a0..870afe059 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -2014,7 +2014,8 @@ data_sign (ctrl_t ctrl, ssh_signature_encoder_t sig_encoder,
ctrl->use_auth_call = 1;
err = agent_pksign_do (ctrl,
_("Please enter the passphrase "
- "for the ssh key%0A %c"), &signature_sexp, 0);
+ "for the ssh key%0A %c"), &signature_sexp,
+ CACHE_MODE_SSH);
ctrl->use_auth_call = 0;
if (err)
goto out;
@@ -2386,7 +2387,7 @@ ssh_identity_register (ctrl_t ctrl, gcry_sexp_t key, int ttl)
for (i = 0; i < 20; i++)
sprintf (key_grip + 2 * i, "%02X", key_grip_raw[i]);
- err = agent_put_cache (key_grip, pi->pin, ttl);
+ err = agent_put_cache (key_grip, CACHE_MODE_SSH, pi->pin, ttl);
if (err)
goto out;