1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/security/ssh/files/patch-ad
SADA Kenji 48500b76a6 PR: ports/12037
Submitted by:	Issei Suzuki <issei@jp.FreeBSD.ORG>
Upgrade to 1.2.27.
# I'm not maintainer but it seems that torstenb is too busy to
# look the PR and many people want new version ssh port.
1999-06-15 20:14:04 +00:00

14 lines
504 B
Plaintext

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