Mercurial > dropbear
diff session.h @ 1821:df8d8ec1801c
added option to disable trivial auth methods (#128)
* added option to disable trivial auth methods
* rename argument to match with other ssh clients
* fixed trivial auth detection for pubkeys
author | Manfred Kaiser <37737811+manfred-kaiser@users.noreply.github.com> |
---|---|
date | Thu, 19 Aug 2021 17:37:14 +0200 |
parents | d1b279aa5ed1 |
children |
line wrap: on
line diff
--- a/session.h Thu Aug 19 23:17:34 2021 +0800 +++ b/session.h Thu Aug 19 17:37:14 2021 +0200 @@ -316,6 +316,7 @@ int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, for the last type of auth we tried */ + int is_trivial_auth; int ignore_next_auth_response; #if DROPBEAR_CLI_INTERACT_AUTH int auth_interact_failed; /* flag whether interactive auth can still