Skip to content

Commit

Permalink
cli-runopts.c add missing DROPBEAR_CLI_PUBKEY_AUTH
Browse files Browse the repository at this point in the history
  • Loading branch information
stokito committed Apr 7, 2024
1 parent fbc4628 commit 3f3754a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli-runopts.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,11 +567,13 @@ static char* multihop_passthrough_args(void) {
if (cli_opts.proxycmd) {
len += strlen(cli_opts.proxycmd);
}
#if DROPBEAR_CLI_PUBKEY_AUTH
for (iter = cli_opts.privkeys->first; iter; iter = iter->next)
{
sign_key * key = (sign_key*)iter->item;
len += 4 + strlen(key->filename);
}
#endif

args = m_malloc(len);
total = 0;
Expand Down

0 comments on commit 3f3754a

Please sign in to comment.