diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-11-02 02:21:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-11-02 02:21:28 +0000 |
commit | 170bfbb16bcb110e7dff21023d66384e63350bc0 (patch) | |
tree | 4bfe1c0a8ece96cae135974be4c194ea42eb7b97 /sys-apps/shadow/files | |
parent | bug #67968. (diff) | |
download | gentoo-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.patch | 11 |
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 + |