From 728e46fa99dd96532939764f29b324fb8b87f223 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 29 Sep 2008 02:23:04 +0000 Subject: Add support for zlib@openssh.com delayed compression. Are still advertising 'zlib' for the server, need to allow delayed-only as an option --- cli-auth.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli-auth.c') diff --git a/cli-auth.c b/cli-auth.c index 1024538..731d769 100644 --- a/cli-auth.c +++ b/cli-auth.c @@ -229,6 +229,8 @@ void recv_msg_userauth_failure() { void recv_msg_userauth_success() { TRACE(("received msg_userauth_success")) + /* Note: in delayed-zlib mode, setting authdone here + * will enable compression in the transport layer */ ses.authstate.authdone = 1; cli_ses.state = USERAUTH_SUCCESS_RCVD; cli_ses.lastauthtype = AUTH_TYPE_NONE; -- cgit v1.2.1