comparison cli-authpubkey.c @ 1696:d18fa38c1fd4

initialise variable to stop warning
author Matt Johnston <matt@ucc.asn.au>
date Thu, 28 May 2020 22:02:03 +0800
parents a53e7d2d60be
children 8dc43b30c6bf
comparison
equal deleted inserted replaced
1694:39534eedf429 1696:d18fa38c1fd4
182 TRACE(("leave send_msg_userauth_pubkey")) 182 TRACE(("leave send_msg_userauth_pubkey"))
183 } 183 }
184 184
185 /* Returns 1 if a key was tried */ 185 /* Returns 1 if a key was tried */
186 int cli_auth_pubkey() { 186 int cli_auth_pubkey() {
187 enum signature_type sigtype; 187 enum signature_type sigtype = DROPBEAR_SIGNATURE_NONE;
188 TRACE(("enter cli_auth_pubkey")) 188 TRACE(("enter cli_auth_pubkey"))
189 189
190 #if DROPBEAR_CLI_AGENTFWD 190 #if DROPBEAR_CLI_AGENTFWD
191 if (!cli_opts.agent_keys_loaded) { 191 if (!cli_opts.agent_keys_loaded) {
192 /* get the list of available keys from the agent */ 192 /* get the list of available keys from the agent */