1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/security/ssh/files/patch-ad

14 lines
504 B
Plaintext
Raw Normal View History

*** 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
***************
*** 911,916 ****
--- 911,918 ----
1998-02-13 22:02:39 +00:00
encrypted_password = crypt(password,
(correct_passwd[0] && correct_passwd[1]) ?
correct_passwd : "xx");
1998-02-13 22:02:39 +00:00
+ if (!password[0] && correct_passwd[0])
+ encrypted_password = ":";
1998-02-13 22:02:39 +00:00
#endif /* HAVE_SCO_ETC_SHADOW */
/* Authentication is accepted if the encrypted passwords are identical. */