aboutsummaryrefslogtreecommitdiffstats
path: root/security/ssh2
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-02-14 06:02:39 +0800
committerache <ache@FreeBSD.org>1998-02-14 06:02:39 +0800
commit07484fcaf872d04e8e4104a81bd61d228d1aed08 (patch)
tree43458ede18390ae34031048ed936cd3409446c09 /security/ssh2
parentcefe784e1551e0b15858011d79717614dd187d3d (diff)
downloadfreebsd-ports-gnome-07484fcaf872d04e8e4104a81bd61d228d1aed08.tar.gz
freebsd-ports-gnome-07484fcaf872d04e8e4104a81bd61d228d1aed08.tar.zst
freebsd-ports-gnome-07484fcaf872d04e8e4104a81bd61d228d1aed08.zip
Fix rare DES empty passwords bug
Diffstat (limited to 'security/ssh2')
-rw-r--r--security/ssh2/files/patch-ad13
1 files changed, 13 insertions, 0 deletions
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 */
+