diff options
author | SADA Kenji <sada@FreeBSD.org> | 1999-06-15 20:14:04 +0000 |
---|---|---|
committer | SADA Kenji <sada@FreeBSD.org> | 1999-06-15 20:14:04 +0000 |
commit | 48500b76a665eb0b09417624157a9adeaf7f11fa (patch) | |
tree | d442b2dc65a22d0c5f486d6441cc7d6eab96d47d /security/ssh/files/patch-ad | |
parent | Portlint. (diff) |
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.
Notes
Notes:
svn path=/head/; revision=19489
Diffstat (limited to 'security/ssh/files/patch-ad')
-rw-r--r-- | security/ssh/files/patch-ad | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/security/ssh/files/patch-ad b/security/ssh/files/patch-ad index 6b4d2646fa91..bab4169bca64 100644 --- a/security/ssh/files/patch-ad +++ b/security/ssh/files/patch-ad @@ -1,13 +1,13 @@ -*** auth-passwd.c.bak Tue Jan 20 15:23:48 1998 ---- auth-passwd.c Sat Feb 14 00:49:56 1998 +*** auth-passwd.c.orig Wed May 12 20:19:23 1999 +--- auth-passwd.c Sun Jun 6 02:36:00 1999 *************** -*** 815,820 **** ---- 815,822 ---- +*** 911,916 **** +--- 911,918 ---- encrypted_password = crypt(password, - (correct_passwd[0] && correct_passwd[1]) ? - correct_passwd : "xx"); + (correct_passwd[0] && correct_passwd[1]) ? + correct_passwd : "xx"); + if (!password[0] && correct_passwd[0]) -+ encrypted_password = ":"; ++ encrypted_password = ":"; #endif /* HAVE_SCO_ETC_SHADOW */ - #endif /* HAVE_OSF1_C2_SECURITY */ + /* Authentication is accepted if the encrypted passwords are identical. */ |