diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-01-23 05:27:21 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-01-23 16:40:29 +1100 |
commit | 14b5c635d1190633b23ac3372379517fb645b0c2 (patch) | |
tree | 8ef70b4660b04ba6add4c314d52f84375cb16788 /ssh.c | |
parent | 7c77991f5de5d8475cbeb7cbb06d0c7d1611d7bb (diff) |
upstream commit
Drop compatibility hacks for some ancient SSH
implementations, including ssh.com <=2.* and OpenSSH <= 3.*.
These versions were all released in or before 2001 and predate the
final SSH RFCs. The hacks in question aren't necessary for RFC-
compliant SSH implementations.
ok markus@
OpenBSD-Commit-ID: 4be81c67db57647f907f4e881fb9341448606138
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.470 2018/01/23 05:06:25 djm Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.471 2018/01/23 05:27:21 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1931,7 +1931,7 @@ ssh_session2(struct ssh *ssh, struct passwd *pw) | |||
1931 | if (options.control_persist && muxserver_sock == -1) | 1931 | if (options.control_persist && muxserver_sock == -1) |
1932 | ssh_init_stdio_forwarding(ssh); | 1932 | ssh_init_stdio_forwarding(ssh); |
1933 | 1933 | ||
1934 | if (!no_shell_flag || (datafellows & SSH_BUG_DUMMYCHAN)) | 1934 | if (!no_shell_flag) |
1935 | id = ssh_session2_open(ssh); | 1935 | id = ssh_session2_open(ssh); |
1936 | else { | 1936 | else { |
1937 | packet_set_interactive( | 1937 | packet_set_interactive( |