diff options
Diffstat (limited to 'crypto/openssh/auth2-passwd.c')
-rw-r--r-- | crypto/openssh/auth2-passwd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/openssh/auth2-passwd.c b/crypto/openssh/auth2-passwd.c index bfd7aeb..ffa2795 100644 --- a/crypto/openssh/auth2-passwd.c +++ b/crypto/openssh/auth2-passwd.c @@ -48,6 +48,9 @@ userauth_passwd(Authctxt *authctxt) password = packet_get_string(&len); packet_check_eom(); if (authctxt->valid && +#ifdef HAVE_CYGWIN + check_nt_auth(1, authctxt->pw) && +#endif PRIVSEP(auth_password(authctxt, password)) == 1) authenticated = 1; memset(password, 0, len); |