summaryrefslogtreecommitdiffhomepage
path: root/cli-authpubkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-07-30 15:14:33 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-07-30 15:14:33 +0000
commitbb8234c2f12998b6cd9590f7dddd08d1871a5d1f (patch)
tree8860f704799ceb21d00a5ee830f94d1a7117e74e /cli-authpubkey.c
parentbacd2a8c795f49822146c1eea0d66c2438c26d7f (diff)
Agent forwarding works
--HG-- branch : agent-client extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
Diffstat (limited to 'cli-authpubkey.c')
-rw-r--r--cli-authpubkey.c5
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;
}