diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-21 01:09:47 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-21 01:09:47 +0000 |
commit | 23e0f667f88fabb38fd22cedf50e81e78fb99e3e (patch) | |
tree | cc55e9a9d007a61a2f4cd1469e1b8f786ee38313 /session.c | |
parent | 9721e92ba8ec5e1c1c3926ce94260605b73243b3 (diff) |
- markus@cvs.openbsd.org 2002/06/20 23:05:56
[servconf.c servconf.h session.c sshd.c]
allow Compression=yes/no in sshd_config
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -33,7 +33,7 @@ | |||
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include "includes.h" | 35 | #include "includes.h" |
36 | RCSID("$OpenBSD: session.c,v 1.137 2002/06/11 05:46:20 mpech Exp $"); | 36 | RCSID("$OpenBSD: session.c,v 1.138 2002/06/20 23:05:55 markus Exp $"); |
37 | 37 | ||
38 | #include "ssh.h" | 38 | #include "ssh.h" |
39 | #include "ssh1.h" | 39 | #include "ssh1.h" |
@@ -279,6 +279,10 @@ do_authenticated1(Authctxt *authctxt) | |||
279 | compression_level); | 279 | compression_level); |
280 | break; | 280 | break; |
281 | } | 281 | } |
282 | if (!options.compression) { | ||
283 | debug2("compression disabled"); | ||
284 | break; | ||
285 | } | ||
282 | /* Enable compression after we have responded with SUCCESS. */ | 286 | /* Enable compression after we have responded with SUCCESS. */ |
283 | enable_compression_after_reply = 1; | 287 | enable_compression_after_reply = 1; |
284 | success = 1; | 288 | success = 1; |