summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/ssh/files/patch-ad13
-rw-r--r--security/ssh2/files/patch-ad13
2 files changed, 26 insertions, 0 deletions
diff --git a/security/ssh/files/patch-ad b/security/ssh/files/patch-ad
new file mode 100644
index 000000000000..6b4d2646fa91
--- /dev/null
+++ b/security/ssh/files/patch-ad
@@ -0,0 +1,13 @@
+*** auth-passwd.c.bak Tue Jan 20 15:23:48 1998
+--- auth-passwd.c Sat Feb 14 00:49:56 1998
+***************
+*** 815,820 ****
+--- 815,822 ----
+ 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 */
+ #endif /* HAVE_OSF1_C2_SECURITY */
+
diff --git a/security/ssh2/files/patch-ad b/security/ssh2/files/patch-ad
new file mode 100644
index 000000000000..6b4d2646fa91
--- /dev/null
+++ b/security/ssh2/files/patch-ad
@@ -0,0 +1,13 @@
+*** auth-passwd.c.bak Tue Jan 20 15:23:48 1998
+--- auth-passwd.c Sat Feb 14 00:49:56 1998
+***************
+*** 815,820 ****
+--- 815,822 ----
+ 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 */
+ #endif /* HAVE_OSF1_C2_SECURITY */
+