mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Make it compile, update for changes in channel structure.
--HG-- branch : agent-client extra : convert_revision : 84676a98a0848224078a716b1292744a34e9d80c
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user