comparison cli-auth.c @ 501:d58c478bd399

Add support for [email protected] delayed compression. Are still advertising 'zlib' for the server, need to allow delayed-only as an option
author Matt Johnston <matt@ucc.asn.au>
date Mon, 29 Sep 2008 02:23:04 +0000
parents fdf06a5a54e4
children 582cb38e4eb5 00e619aa2f9a
comparison
equal deleted inserted replaced
499:f3ca5ebc319a 501:d58c478bd399
227 TRACE(("leave recv_msg_userauth_failure")) 227 TRACE(("leave recv_msg_userauth_failure"))
228 } 228 }
229 229
230 void recv_msg_userauth_success() { 230 void recv_msg_userauth_success() {
231 TRACE(("received msg_userauth_success")) 231 TRACE(("received msg_userauth_success"))
232 /* Note: in delayed-zlib mode, setting authdone here
233 * will enable compression in the transport layer */
232 ses.authstate.authdone = 1; 234 ses.authstate.authdone = 1;
233 cli_ses.state = USERAUTH_SUCCESS_RCVD; 235 cli_ses.state = USERAUTH_SUCCESS_RCVD;
234 cli_ses.lastauthtype = AUTH_TYPE_NONE; 236 cli_ses.lastauthtype = AUTH_TYPE_NONE;
235 } 237 }
236 238