summaryrefslogtreecommitdiffhomepage
path: root/cli-auth.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-29 02:23:04 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-29 02:23:04 +0000
commit049fcf1ac572e1a13dc1281c26bbf3512c533fb7 (patch)
tree62b2290f5f6e4c0c8e0a3c0263eaa991357abb24 /cli-auth.c
parent90f8c1fd51ac6af033d455a775dc5a1455d7d7cb (diff)
Add support for zlib@openssh.com delayed compression.
Are still advertising 'zlib' for the server, need to allow delayed-only as an option --HG-- extra : convert_revision : 319df675cc3c9b35a10b7d8357c94f33fdab1a46
Diffstat (limited to 'cli-auth.c')
-rw-r--r--cli-auth.c2
1 files changed, 2 insertions, 0 deletions
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;