summaryrefslogtreecommitdiffhomepage
path: root/auth.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-02 00:11:53 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-02 00:11:53 +0800
commitff2aa20565df2ed528080288d0102cffb25e4204 (patch)
treeff801d2f1ea0cb0dbfaafc9b12cc9218a16a1a8e /auth.h
parent90b5691183f12d348d2651e026e8438ad278c2be (diff)
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
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h2
1 files changed, 1 insertions, 1 deletions
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();