From d514c907d423cff76b7251059ad307c830e006cc Mon Sep 17 00:00:00 2001 From: mouring Date: Tue, 11 Jun 2002 20:28:05 +0000 Subject: [PATCH] - (bal) Cygwin fix up from swap uid clean up in ssh.c patch by vinschen@redhat.com --- ChangeLog | 2 ++ ssh.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index f27ab1d9..b7dc4bda 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 diff --git a/ssh.c b/ssh.c index 5693c0d3..be9c78b0 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); /* -- 2.45.2