diff options
author | Matt Johnston <matt@ucc.asn.au> | 2009-07-30 15:14:33 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2009-07-30 15:14:33 +0000 |
commit | bb8234c2f12998b6cd9590f7dddd08d1871a5d1f (patch) | |
tree | 8860f704799ceb21d00a5ee830f94d1a7117e74e /cli-authpubkey.c | |
parent | bacd2a8c795f49822146c1eea0d66c2438c26d7f (diff) |
Agent forwarding works
--HG--
branch : agent-client
extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
Diffstat (limited to 'cli-authpubkey.c')
-rw-r--r-- | cli-authpubkey.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli-authpubkey.c b/cli-authpubkey.c index a990631..a57fd6b 100644 --- a/cli-authpubkey.c +++ b/cli-authpubkey.c @@ -187,10 +187,9 @@ int cli_auth_pubkey() { TRACE(("enter cli_auth_pubkey")) - if (cli_opts.agent_fwd && - !cli_opts.agent_keys_loaded) { + if (!cli_opts.agent_keys_loaded) { /* get the list of available keys from the agent */ - load_agent_keys(cli_opts.privkeys); + cli_load_agent_keys(cli_opts.privkeys); cli_opts.agent_keys_loaded = 1; } |