From: mouring Date: Fri, 21 Jun 2002 00:26:22 +0000 (+0000) Subject: - (bal) Cygwin special handling of empty passwords wrong. Patch by X-Git-Tag: V_3_3_P1~22 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/fa7a0d52a7158e62948f6a0239a5f5e2b4fafe76 - (bal) Cygwin special handling of empty passwords wrong. Patch by vinschen@redhat.com --- diff --git a/ChangeLog b/ChangeLog index abba4156..1582aa8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,8 @@ - deraadt@cvs.openbsd.org 2002/06/17 06:05:56 [scp.c] make usage like man page + - (bal) Cygwin special handling of empty passwords wrong. Patch by + vinschen@redhat.com 20020613 - (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com diff --git a/auth-passwd.c b/auth-passwd.c index ad3bd355..8107e723 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;