From 115422f918d86e007cb3c050e9c4d09102580089 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Fri, 21 Jun 2002 00:26:22 +0000 Subject: - (bal) Cygwin special handling of empty passwords wrong. Patch by vinschen@redhat.com --- auth-passwd.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'auth-passwd.c') diff --git a/auth-passwd.c b/auth-passwd.c index ad3bd3552..8107e723f 100644 --- a/auth-passwd.c +++ b/auth-passwd.c @@ -123,13 +123,6 @@ auth_password(Authctxt *authctxt, const char *password) #ifndef HAVE_CYGWIN if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES) return 0; -#endif -#ifdef HAVE_CYGWIN - /* - * Empty password is only possible on NT if the user has _really_ - * an empty password and authentication is done, though. - */ - if (!is_winnt) #endif if (*password == '\0' && options.permit_empty_passwd == 0) return 0; -- cgit v1.2.3