From 1aa6427c0f0385fde48e3457a9ebf37b8de77d06 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Tue, 11 Jun 2002 20:28:05 +0000 Subject: - (bal) Cygwin fix up from swap uid clean up in ssh.c patch by vinschen@redhat.com --- ChangeLog | 4 +++- ssh.c | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 202c8699c..5cfd887d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -42,6 +42,8 @@ - itojun@cvs.openbsd.org 2002/06/11 08:11:45 [canohost.c] use "ntop" only after initialized + - (bal) Cygwin fix up from swap uid clean up in ssh.c patch by + vinschen@redhat.com 20020609 - (bal) OpenBSD CVS Sync @@ -907,4 +909,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2210 2002/06/11 16:47:22 mouring Exp $ +$Id: ChangeLog,v 1.2211 2002/06/11 20:28:05 mouring Exp $ diff --git a/ssh.c b/ssh.c index 5693c0d39..be9c78b0f 100644 --- a/ssh.c +++ b/ssh.c @@ -615,7 +615,11 @@ again: cerr = ssh_connect(host, &hostaddr, options.port, IPv4or6, options.connection_attempts, +#ifdef HAVE_CYGWIN + options.use_privileged_port, +#else original_effective_uid == 0 && options.use_privileged_port, +#endif options.proxy_command); /* -- cgit v1.2.3