Mercurial > dropbear
diff auth.h @ 734:619b1ed837fd
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
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 02 Apr 2013 00:11:53 +0800 |
parents | 818108bf7749 |
children | 8fe36617bf4e |
line wrap: on
line diff
--- a/auth.h Mon Apr 01 22:26:55 2013 +0800 +++ b/auth.h Tue Apr 02 00:11:53 2013 +0800 @@ -67,7 +67,7 @@ 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();