diff options
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. */ |