1
0
mirror of https://github.com/clearml/dropbear synced 2025-04-13 12:09:28 +00:00

initialise variable to stop warning

This commit is contained in:
Matt Johnston 2020-05-28 22:02:03 +08:00
parent 4216c984ae
commit 630f6aa6b9

View File

@ -184,7 +184,7 @@ static void send_msg_userauth_pubkey(sign_key *key, enum signature_type sigtype,
/* Returns 1 if a key was tried */ /* Returns 1 if a key was tried */
int cli_auth_pubkey() { int cli_auth_pubkey() {
enum signature_type sigtype; enum signature_type sigtype = DROPBEAR_SIGNATURE_NONE;
TRACE(("enter cli_auth_pubkey")) TRACE(("enter cli_auth_pubkey"))
#if DROPBEAR_CLI_AGENTFWD #if DROPBEAR_CLI_AGENTFWD