summaryrefslogtreecommitdiff
path: root/cli-authpubkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-07-01 04:53:17 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-07-01 04:53:17 +0000
commitcea6b85d40fef0d4012efedf32f7982c4baa5e8e (patch)
tree16995bf01183b34461fd95df3f96000a5d3f2547 /cli-authpubkey.c
parent3daaa762faecd1c3f6314b9d9dc8a50ef234bfbe (diff)
downloaddropbear-cea6b85d40fef0d4012efedf32f7982c4baa5e8e.tar.gz
Make it compile, update for changes in channel structure.
Diffstat (limited to 'cli-authpubkey.c')
-rw-r--r--cli-authpubkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-authpubkey.c b/cli-authpubkey.c
index 20277a1..b314edc 100644
--- a/cli-authpubkey.c
+++ b/cli-authpubkey.c
@@ -174,11 +174,11 @@ int cli_auth_pubkey() {
TRACE(("enter cli_auth_pubkey"))
- if (cli_opts.pubkeys == NULL &&
+ if (cli_opts.privkeys == 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);
+ load_agent_keys(&cli_opts.privkeys);
}
if (cli_opts.privkeys != NULL) {