summaryrefslogtreecommitdiff
path: root/security/openssh/patches/patch-ap
blob: b531a18d2cb00ce409227cf8a6c0b41fc80724f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ap,v 1.7 2006/02/12 00:13:55 salo Exp $

--- ssh.c.orig	2005-12-30 23:33:37.000000000 -0600
+++ ssh.c	2006-02-08 21:07:24.000000000 -0600
@@ -648,7 +648,7 @@
 	/* Open a connection to the remote host. */
 	if (ssh_connect(host, &hostaddr, options.port,
 	    options.address_family, options.connection_attempts,
-#ifdef HAVE_CYGWIN
+#if defined(HAVE_CYGWIN) || defined(HAVE_INTERIX)
 	    options.use_privileged_port,
 #else
 	    original_effective_uid == 0 && options.use_privileged_port,