summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-09-30 05:03:04 +0000
committerderaadt <deraadt@openbsd.org>1999-09-30 05:03:04 +0000
commit90652e5aa71883cdf393f95cbdc7c15df082bd02 (patch)
treeef85e188be17bffb3b2a0e734d0cff418c99d092 /usr.bin/ssh/ssh.c
parentmore culling (diff)
downloadwireguard-openbsd-90652e5aa71883cdf393f95cbdc7c15df082bd02.tar.xz
wireguard-openbsd-90652e5aa71883cdf393f95cbdc7c15df082bd02.zip
cull more ancient garbage from pre-POSIX days
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 346da57d5dc..0f0c7ce6d93 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -18,7 +18,7 @@ Modified to work with SSL by Niels Provos <provos@citi.umich.edu> in Canada.
*/
#include "includes.h"
-RCSID("$Id: ssh.c,v 1.14 1999/09/30 04:30:03 deraadt Exp $");
+RCSID("$Id: ssh.c,v 1.15 1999/09/30 05:03:05 deraadt Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -118,9 +118,7 @@ usage()
fprintf(stderr, " -R listen-port:host:port Forward remote port to local address\n");
fprintf(stderr, " These cause %s to listen for connections on a port, and\n", av0);
fprintf(stderr, " forward them to the other side by connecting to host:port.\n");
-#ifdef WITH_ZLIB
fprintf(stderr, " -C Enable compression.\n");
-#endif /* WITH_ZLIB */
fprintf(stderr, " -o 'option' Process the option as if it was read from a configuration file.\n");
exit(1);
}
@@ -392,11 +390,9 @@ main(int ac, char **av)
add_local_forward(&options, fwd_port, buf, fwd_host_port);
break;
-#ifdef WITH_ZLIB
case 'C':
options.compression = 1;
break;
-#endif /* WITH_ZLIB */
case 'o':
dummy = 1;
@@ -622,7 +618,6 @@ main(int ac, char **av)
setsid();
}
-#ifdef WITH_ZLIB
/* Enable compression if requested. */
if (options.compression)
{
@@ -644,7 +639,6 @@ main(int ac, char **av)
else
packet_disconnect("Protocol error waiting for compression response.");
}
-#endif /* WITH_ZLIB */
/* Allocate a pseudo tty if appropriate. */
if (tty_flag)