diff options
author | Damien Miller <djm@mindrot.org> | 2014-08-19 11:14:17 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-08-19 11:14:17 +1000 |
commit | d4e7d59d01a6c7f59e8c1f94a83c086e9a33d8aa (patch) | |
tree | 90b2df7ac5591d7668e451a55c1c708dd7fc5326 | |
parent | 9eaeea2cf2b6af5f166cfa9ad3c7a90711a147a9 (diff) |
- (djm) [serverloop.c] Fix syntax error on Cygwin; from Corinna Vinschen
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | serverloop.c | 4 |
2 files changed, 11 insertions, 4 deletions
@@ -1,8 +1,15 @@ | |||
1 | 20130810 | 1 | 20140819 |
2 | - (djm) [serverloop.c] Fix syntax error on Cygwin; from Corinna Vinschen | ||
3 | |||
4 | 20140811 | ||
5 | - (djm) [myproposal.h] Make curve25519 KEX dependent on | ||
6 | HAVE_EVP_SHA256 instead of OPENSSL_HAS_ECC. | ||
7 | |||
8 | 20140810 | ||
2 | - (djm) [README contrib/caldera/openssh.spec] | 9 | - (djm) [README contrib/caldera/openssh.spec] |
3 | [contrib/redhat/openssh.spec contrib/suse/openssh.spec] Update versions | 10 | [contrib/redhat/openssh.spec contrib/suse/openssh.spec] Update versions |
4 | 11 | ||
5 | 20130801 | 12 | 20140801 |
6 | - (djm) [regress/multiplex.sh] Skip test for non-OpenBSD netcat. We need | 13 | - (djm) [regress/multiplex.sh] Skip test for non-OpenBSD netcat. We need |
7 | a better solution, but this will have to do for now. | 14 | a better solution, but this will have to do for now. |
8 | - (djm) [regress/multiplex.sh] Instruct nc not to quit as soon as stdin | 15 | - (djm) [regress/multiplex.sh] Instruct nc not to quit as soon as stdin |
diff --git a/serverloop.c b/serverloop.c index 7a80da55a..e92f9e27b 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -1173,9 +1173,9 @@ server_input_global_request(int type, u_int32_t seq, void *ctxt) | |||
1173 | /* check permissions */ | 1173 | /* check permissions */ |
1174 | if ((options.allow_tcp_forwarding & FORWARD_REMOTE) == 0 || | 1174 | if ((options.allow_tcp_forwarding & FORWARD_REMOTE) == 0 || |
1175 | no_port_forwarding_flag || | 1175 | no_port_forwarding_flag || |
1176 | (!want_reply && fwd.listen_port == 0) || | 1176 | (!want_reply && fwd.listen_port == 0) |
1177 | #ifndef NO_IPPORT_RESERVED_CONCEPT | 1177 | #ifndef NO_IPPORT_RESERVED_CONCEPT |
1178 | (fwd.listen_port != 0 && fwd.listen_port < IPPORT_RESERVED && | 1178 | || (fwd.listen_port != 0 && fwd.listen_port < IPPORT_RESERVED && |
1179 | pw->pw_uid != 0) | 1179 | pw->pw_uid != 0) |
1180 | #endif | 1180 | #endif |
1181 | ) { | 1181 | ) { |