Mercurial > dropbear
comparison cli-auth.c @ 552:de3653483ac0 agent-client
- Client auth using an agent's key works. Still need to implement client
agent forwarding.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 06 Jul 2009 14:02:45 +0000 |
parents | 00e619aa2f9a |
children | a4b7627b3157 |
comparison
equal
deleted
inserted
replaced
551:c3f2ec71e3d4 | 552:de3653483ac0 |
---|---|
232 /* Note: in delayed-zlib mode, setting authdone here | 232 /* Note: in delayed-zlib mode, setting authdone here |
233 * will enable compression in the transport layer */ | 233 * will enable compression in the transport layer */ |
234 ses.authstate.authdone = 1; | 234 ses.authstate.authdone = 1; |
235 cli_ses.state = USERAUTH_SUCCESS_RCVD; | 235 cli_ses.state = USERAUTH_SUCCESS_RCVD; |
236 cli_ses.lastauthtype = AUTH_TYPE_NONE; | 236 cli_ses.lastauthtype = AUTH_TYPE_NONE; |
237 | |
238 #ifdef ENABLE_CLI_PUBKEY_AUTH | |
239 cli_auth_pubkey_cleanup(); | |
240 #endif | |
237 } | 241 } |
238 | 242 |
239 void cli_auth_try() { | 243 void cli_auth_try() { |
240 | 244 |
241 int finished = 0; | 245 int finished = 0; |