summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--auth-passwd.c7
2 files changed, 3 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index f71b2d030..b6492b0d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,8 @@
23 - deraadt@cvs.openbsd.org 2002/06/17 06:05:56 23 - deraadt@cvs.openbsd.org 2002/06/17 06:05:56
24 [scp.c] 24 [scp.c]
25 make usage like man page 25 make usage like man page
26 - (bal) Cygwin special handling of empty passwords wrong. Patch by
27 vinschen@redhat.com
26 28
2720020613 2920020613
28 - (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com 30 - (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com
@@ -951,4 +953,4 @@
951 - (stevesk) entropy.c: typo in debug message 953 - (stevesk) entropy.c: typo in debug message
952 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 954 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
953 955
954$Id: ChangeLog,v 1.2223 2002/06/21 00:10:58 mouring Exp $ 956$Id: ChangeLog,v 1.2224 2002/06/21 00:26:22 mouring Exp $
diff --git a/auth-passwd.c b/auth-passwd.c
index ad3bd3552..8107e723f 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -124,13 +124,6 @@ auth_password(Authctxt *authctxt, const char *password)
124 if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES) 124 if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES)
125 return 0; 125 return 0;
126#endif 126#endif
127#ifdef HAVE_CYGWIN
128 /*
129 * Empty password is only possible on NT if the user has _really_
130 * an empty password and authentication is done, though.
131 */
132 if (!is_winnt)
133#endif
134 if (*password == '\0' && options.permit_empty_passwd == 0) 127 if (*password == '\0' && options.permit_empty_passwd == 0)
135 return 0; 128 return 0;
136#ifdef KRB5 129#ifdef KRB5