summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-02 02:21:28 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-02 02:21:28 +0000
commit170bfbb16bcb110e7dff21023d66384e63350bc0 (patch)
tree4bfe1c0a8ece96cae135974be4c194ea42eb7b97 /sys-apps/shadow/files
parentbug #67968. (diff)
downloadgentoo-2-170bfbb16bcb110e7dff21023d66384e63350bc0.tar.gz
gentoo-2-170bfbb16bcb110e7dff21023d66384e63350bc0.tar.bz2
gentoo-2-170bfbb16bcb110e7dff21023d66384e63350bc0.zip
Add patch by Mark Wagner to fix skey support #69741 by Thomas Matthijs.
Diffstat (limited to 'sys-apps/shadow/files')
-rw-r--r--sys-apps/shadow/files/shadow-4.0.5-skey.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-apps/shadow/files/shadow-4.0.5-skey.patch b/sys-apps/shadow/files/shadow-4.0.5-skey.patch
new file mode 100644
index 000000000000..14626b0a2330
--- /dev/null
+++ b/sys-apps/shadow/files/shadow-4.0.5-skey.patch
@@ -0,0 +1,11 @@
+--- shadow-4.0.5.orig/lib/pwauth.c 2004-11-01 12:14:40.254524181 -0800
++++ shadow-4.0.5/lib/pwauth.c 2004-11-01 12:15:13.426532987 -0800
+@@ -152,7 +152,7 @@
+ * If there is no SKEY information we default to not using SKEY.
+ */
+
+- if (skeychallenge (&skey, user, challenge_info) == 0)
++ if (skeychallenge (&skey, user, challenge_info, sizeof(challenge_info)) == 0)
+ use_skey = 1;
+ #endif
+