1999-06-15 20:14:04 +00:00
|
|
|
*** auth-passwd.c.orig Wed May 12 20:19:23 1999
|
|
|
|
--- auth-passwd.c Sun Jun 6 02:36:00 1999
|
1998-02-13 22:02:39 +00:00
|
|
|
***************
|
1999-06-15 20:14:04 +00:00
|
|
|
*** 911,916 ****
|
|
|
|
--- 911,918 ----
|
1998-02-13 22:02:39 +00:00
|
|
|
encrypted_password = crypt(password,
|
1999-06-15 20:14:04 +00:00
|
|
|
(correct_passwd[0] && correct_passwd[1]) ?
|
|
|
|
correct_passwd : "xx");
|
1998-02-13 22:02:39 +00:00
|
|
|
+ if (!password[0] && correct_passwd[0])
|
1999-06-15 20:14:04 +00:00
|
|
|
+ encrypted_password = ":";
|
1998-02-13 22:02:39 +00:00
|
|
|
#endif /* HAVE_SCO_ETC_SHADOW */
|
|
|
|
|
1999-06-15 20:14:04 +00:00
|
|
|
/* Authentication is accepted if the encrypted passwords are identical. */
|