mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 16:54:51 +02:00
Ported recent changes for Windows
This commit is contained in:
parent
b533d79ced
commit
b924b42dea
5
sshd.c
5
sshd.c
@ -233,7 +233,12 @@ int use_privsep = -1;
|
|||||||
#endif
|
#endif
|
||||||
struct monitor *pmonitor = NULL;
|
struct monitor *pmonitor = NULL;
|
||||||
int privsep_is_preauth = 1;
|
int privsep_is_preauth = 1;
|
||||||
|
#ifdef WINDOWS
|
||||||
|
/* Windows does not use Unix privilege separation model */
|
||||||
|
static int privsep_chroot = 0;
|
||||||
|
#else
|
||||||
static int privsep_chroot = 1;
|
static int privsep_chroot = 1;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* global authentication context */
|
/* global authentication context */
|
||||||
Authctxt *the_authctxt = NULL;
|
Authctxt *the_authctxt = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user