From 9d86e5d5704092072822336af6d0bee468c25966 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 8 Mar 2009 11:40:27 +1100 Subject: - (dtucker) [auth-passwd.c auth1.c auth2-kbdint.c auth2-none.c auth2-passwd.c auth2-pubkey.c session.c openbsd-compat/bsd-cygwin_util.{c,h} openbsd-compat/daemon.c] Remove support for Windows 95/98/ME and very old version of Cygwin. Patch from vinschen at redhat com. --- auth1.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'auth1.c') diff --git a/auth1.c b/auth1.c index b8a255872..1801661fd 100644 --- a/auth1.c +++ b/auth1.c @@ -318,15 +318,7 @@ do_authloop(Authctxt *authctxt) } #endif /* _UNICOS */ -#ifdef HAVE_CYGWIN - if (authenticated && - !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD, - authctxt->pw)) { - packet_disconnect("Authentication rejected for uid %d.", - authctxt->pw == NULL ? -1 : authctxt->pw->pw_uid); - authenticated = 0; - } -#else +#ifndef HAVE_CYGWIN /* Special handling for root */ if (authenticated && authctxt->pw->pw_uid == 0 && !auth_root_allowed(meth->name)) { -- cgit v1.2.3