- (bal) Cygwin fix up from swap uid clean up in ssh.c patch by

vinschen@redhat.com
This commit is contained in:
Ben Lindstrom 2002-06-11 20:28:05 +00:00
parent 9a17c9a568
commit 1aa6427c0f
2 changed files with 7 additions and 1 deletions

View File

@ -42,6 +42,8 @@
- itojun@cvs.openbsd.org 2002/06/11 08:11:45 - itojun@cvs.openbsd.org 2002/06/11 08:11:45
[canohost.c] [canohost.c]
use "ntop" only after initialized use "ntop" only after initialized
- (bal) Cygwin fix up from swap uid clean up in ssh.c patch by
vinschen@redhat.com
20020609 20020609
- (bal) OpenBSD CVS Sync - (bal) OpenBSD CVS Sync
@ -907,4 +909,4 @@
- (stevesk) entropy.c: typo in debug message - (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@ - (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 $

4
ssh.c
View File

@ -615,7 +615,11 @@ again:
cerr = ssh_connect(host, &hostaddr, options.port, IPv4or6, cerr = ssh_connect(host, &hostaddr, options.port, IPv4or6,
options.connection_attempts, options.connection_attempts,
#ifdef HAVE_CYGWIN
options.use_privileged_port,
#else
original_effective_uid == 0 && options.use_privileged_port, original_effective_uid == 0 && options.use_privileged_port,
#endif
options.proxy_command); options.proxy_command);
/* /*