Mercurial > dropbear
diff cli-authpubkey.c @ 225:ca7e76d981d9 agent-client
- progress towards client agent forwarding
(incomplete and does not compile)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 18 Jul 2005 14:32:52 +0000 |
parents | aad4b3f58556 |
children | c1e9c81d1d27 |
line wrap: on
line diff
--- a/cli-authpubkey.c Fri Jul 08 19:20:10 2005 +0000 +++ b/cli-authpubkey.c Mon Jul 18 14:32:52 2005 +0000 @@ -172,6 +172,13 @@ TRACE(("enter cli_auth_pubkey")) + if (cli_opts.pubkeys == NULL && + cli_opts.agent_fwd && + !cli_opts.agent_keys_loaded) { + /* get the list of available keys from the agent */ + load_agent_keys(&cli_opts.pubkeys); + } + if (cli_opts.privkeys != NULL) { /* Send a trial request */ send_msg_userauth_pubkey(cli_opts.privkeys->key,