Agent forwarding works

--HG--
branch : agent-client
extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
This commit is contained in:
Matt Johnston
2009-07-30 15:14:33 +00:00
parent bacd2a8c79
commit bb8234c2f1
11 changed files with 49 additions and 24 deletions

View File

@@ -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;
}