diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-09-29 02:23:04 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-09-29 02:23:04 +0000 |
commit | 049fcf1ac572e1a13dc1281c26bbf3512c533fb7 (patch) | |
tree | 62b2290f5f6e4c0c8e0a3c0263eaa991357abb24 /svr-auth.c | |
parent | 90f8c1fd51ac6af033d455a775dc5a1455d7d7cb (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 'svr-auth.c')
-rw-r--r-- | svr-auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -368,6 +368,8 @@ void send_msg_userauth_success() { buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_SUCCESS); encrypt_packet(); + /* authdone must be set after encrypt_packet() for + * delayed-zlib mode */ ses.authstate.authdone = 1; ses.connect_time = 0; |