diff options
Diffstat (limited to 'meta/packages/dropbear/dropbear/urandom-xauth-changes-to-options.h.patch')
-rw-r--r-- | meta/packages/dropbear/dropbear/urandom-xauth-changes-to-options.h.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/dropbear/dropbear/urandom-xauth-changes-to-options.h.patch b/meta/packages/dropbear/dropbear/urandom-xauth-changes-to-options.h.patch new file mode 100644 index 0000000000..e2b1dd5da5 --- /dev/null +++ b/meta/packages/dropbear/dropbear/urandom-xauth-changes-to-options.h.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | diff -Nurd dropbear-0.45/options.h dropbear-0.45.patched/options.h | ||
2 | --- dropbear-0.45/options.h 2005-03-06 20:27:02.000000000 -0800 | ||
3 | +++ dropbear-0.45.patched/options.h 2005-03-08 15:25:09.368742090 -0800 | ||
4 | @@ -143,7 +143,7 @@ | ||
5 | * however significantly reduce the security of your ssh connections | ||
6 | * if the PRNG state becomes guessable - make sure you know what you are | ||
7 | * doing if you change this. */ | ||
8 | -#define DROPBEAR_RANDOM_DEV "/dev/random" | ||
9 | +#define DROPBEAR_RANDOM_DEV "/dev/urandom" | ||
10 | |||
11 | /* prngd must be manually set up to produce output */ | ||
12 | /*#define DROPBEAR_PRNGD_SOCKET "/var/run/dropbear-rng"*/ | ||
13 | @@ -167,7 +167,7 @@ | ||
14 | /* The command to invoke for xauth when using X11 forwarding. | ||
15 | * "-q" for quiet */ | ||
16 | #ifndef XAUTH_COMMAND | ||
17 | -#define XAUTH_COMMAND "/usr/X11R6/bin/xauth -q" | ||
18 | +#define XAUTH_COMMAND "xauth -q" | ||
19 | #endif | ||
20 | |||
21 | /* if you want to enable running an sftp server (such as the one included with | ||