From ff2aa20565df2ed528080288d0102cffb25e4204 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 2 Apr 2013 00:11:53 +0800 Subject: Be a bit more careful about when we want to use CLI_AUTH_IMMEDIATE Only use it if we have pubkeys to try, or we have $DROPBEAR_PASSWORD set --- auth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth.h') diff --git a/auth.h b/auth.h index 0fd9c73..df6634e 100644 --- a/auth.h +++ b/auth.h @@ -67,7 +67,7 @@ void recv_msg_userauth_pk_ok(); void recv_msg_userauth_info_request(); void cli_get_user(); void cli_auth_getmethods(); -void cli_auth_try(); +int cli_auth_try(); void recv_msg_userauth_banner(); void cli_pubkeyfail(); void cli_auth_password(); -- cgit v1.2.3