diff cli-authpubkey.c @ 560:52d7301e46bd agent-client

Agent forwarding works
author Matt Johnston <matt@ucc.asn.au>
date Thu, 30 Jul 2009 15:14:33 +0000
parents de3653483ac0
children 405418f7dc5e
line wrap: on
line diff
--- a/cli-authpubkey.c	Wed Jul 29 02:58:33 2009 +0000
+++ b/cli-authpubkey.c	Thu Jul 30 15:14:33 2009 +0000
@@ -187,10 +187,9 @@
 
 	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;
 	}