summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
authorManfred Kaiser <37737811+manfred-kaiser@users.noreply.github.com>2021-08-19 17:37:14 +0200
committerGitHub <noreply@github.com>2021-08-19 23:37:14 +0800
commit210a9833496ed2a93b8da93924874938127ce0b5 (patch)
treeb7bbba8079879cc3bc057a2eba8433f0e0ae4094 /session.h
parent69e5709f75981bf0f5147c5f1d95a0f4fdf11b6f (diff)
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
Diffstat (limited to 'session.h')
-rw-r--r--session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/session.h b/session.h
index fb5b8cb..6706592 100644
--- a/session.h
+++ b/session.h
@@ -316,6 +316,7 @@ struct clientsession {
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