summaryrefslogtreecommitdiffhomepage
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
commit630f6aa6b94788f04fb728c71cade2d1092a7c45 (patch)
tree53b3df0c4022e40fa0aade7e04e6456d311aec20
parent4216c984ae7e5b2ce2cc380dd0c92f4bee2dd13d (diff)
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