]> andersk Git - openssh.git/commitdiff
- (bal) Cygwin fix up from swap uid clean up in ssh.c patch by
authormouring <mouring>
Tue, 11 Jun 2002 20:28:05 +0000 (20:28 +0000)
committermouring <mouring>
Tue, 11 Jun 2002 20:28:05 +0000 (20:28 +0000)
   vinschen@redhat.com

ChangeLog
ssh.c

index f27ab1d99b13ff2154ba0689425e2a771251d2b3..b7dc4bda0ef31a4cf4bce81b18e11eff99c081b4 100644 (file)
--- 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 5693c0d3966913c891968ac17afb29013237c286..be9c78b0fc28f1fa865ea4ac4d335f50a26c2949 100644 (file)
--- 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);
 
        /*
This page took 0.033537 seconds and 5 git commands to generate.