diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-05-28 22:02:03 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-05-28 22:02:03 +0800 |
commit | 4acbce9ac70ddeed95764894555a72792b419ee9 (patch) | |
tree | 94cb008714ee503f44aeb2aee93d669b0fa72ef2 | |
parent | 7dc1401b04cdffb094a19f377d6c9a165385e3dc (diff) | |
download | dropbear-4acbce9ac70ddeed95764894555a72792b419ee9.tar.gz |
initialise variable to stop warning
-rw-r--r-- | cli-authpubkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-authpubkey.c b/cli-authpubkey.c index fef0f27..42c4e3f 100644 --- a/cli-authpubkey.c +++ b/cli-authpubkey.c @@ -184,7 +184,7 @@ static void send_msg_userauth_pubkey(sign_key *key, enum signature_type sigtype, /* Returns 1 if a key was tried */ int cli_auth_pubkey() { - enum signature_type sigtype; + enum signature_type sigtype = DROPBEAR_SIGNATURE_NONE; TRACE(("enter cli_auth_pubkey")) #if DROPBEAR_CLI_AGENTFWD |