summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-05-28 22:02:03 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-05-28 22:02:03 +0800
commit4acbce9ac70ddeed95764894555a72792b419ee9 (patch)
tree94cb008714ee503f44aeb2aee93d669b0fa72ef2
parent7dc1401b04cdffb094a19f377d6c9a165385e3dc (diff)
downloaddropbear-4acbce9ac70ddeed95764894555a72792b419ee9.tar.gz
initialise variable to stop warning
-rw-r--r--cli-authpubkey.c2
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