diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-07-29 02:19:03 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-07-29 02:19:03 +0000 |
commit | e1491b8ec67e0e24b93a7b2997172d57b23a933c (patch) | |
tree | f901dadee3bea69edcb4b019ffcc6a883e078d33 /cli-session.c | |
parent | 2d82f73484e588e9367657a25331afd4aa0bf976 (diff) |
set the isserver flag (oops)
fix password auth for the server
--HG--
extra : convert_revision : 234eb604aabaef9ed0dd496ff8db8ecc212ca18c
Diffstat (limited to 'cli-session.c')
-rw-r--r-- | cli-session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli-session.c b/cli-session.c index 2ae2719..c999aed 100644 --- a/cli-session.c +++ b/cli-session.c @@ -83,6 +83,8 @@ static void cli_session_init() { /* packet handlers */ ses.packettypes = cli_packettypes; + + ses.isserver = 0; } /* This function drives the progress of the session - it initiates KEX, @@ -136,7 +138,6 @@ static void cli_sessionloop() { /* userauth code */ case SERVICE_AUTH_ACCEPT_RCVD: - cli_get_user(); cli_auth_getmethods(); cli_ses.state = USERAUTH_METHODS_SENT; TRACE(("leave cli_sessionloop: sent userauth methods req")); |