summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/tightvnc/files/tightvnc-1.3_alpha7-gentoo.security.patch')
-rw-r--r--net-misc/tightvnc/files/tightvnc-1.3_alpha7-gentoo.security.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/net-misc/tightvnc/files/tightvnc-1.3_alpha7-gentoo.security.patch b/net-misc/tightvnc/files/tightvnc-1.3_alpha7-gentoo.security.patch
deleted file mode 100644
index ab65aec892f9..000000000000
--- a/net-misc/tightvnc/files/tightvnc-1.3_alpha7-gentoo.security.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- /tmp/vncserver 2003-02-21 17:29:45.000000000 +0000
-+++ vncserver 2003-02-21 17:30:10.000000000 +0000
-@@ -153,15 +153,8 @@
- $desktopLog = "$vncUserDir/$host:$displayNumber.log";
- unlink($desktopLog);
-
--# Make an X server cookie - use as the seed the sum of the current time, our
--# PID and part of the encrypted form of the password. Ideally we'd use
--# /dev/urandom, but that's only available on Linux.
--
--srand(time+$$+unpack("L",`cat $vncUserDir/passwd`));
--$cookie = "";
--for (1..16) {
-- $cookie .= sprintf("%02x", int(rand(256)));
--}
-+# Make an X server cookie - use mcookie
-+$cookie = `/usr/bin/mcookie`;
-
- system("xauth -f $xauthorityFile add $host:$displayNumber . $cookie");
- system("xauth -f $xauthorityFile add $host/unix:$displayNumber . $cookie");