Ported recent changes for Windows

This commit is contained in:
Manoj Ampalam 2017-04-10 16:10:15 -07:00
parent b533d79ced
commit b924b42dea
1 changed files with 5 additions and 0 deletions

5
sshd.c
View File

@ -233,7 +233,12 @@ int use_privsep = -1;
#endif
struct monitor *pmonitor = NULL;
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;
#endif
/* global authentication context */
Authctxt *the_authctxt = NULL;