add the dropbear /dev/urandom patch again - helps on systems where wifi is disabled
authorFelix Fietkau <nbd@openwrt.org>
Tue, 7 Nov 2006 19:32:51 +0000 (19:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 7 Nov 2006 19:32:51 +0000 (19:32 +0000)
SVN-Revision: 5467

openwrt/package/dropbear/patches/140-use_dev_urandom.patch [new file with mode: 0644]

diff --git a/openwrt/package/dropbear/patches/140-use_dev_urandom.patch b/openwrt/package/dropbear/patches/140-use_dev_urandom.patch
new file mode 100644 (file)
index 0000000..e1424f5
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN dropbear-0.45.old/options.h dropbear-0.45/options.h
+--- dropbear-0.45.old/options.h        2005-03-14 17:12:22.000000000 +0100
++++ dropbear-0.45/options.h    2005-03-14 17:13:49.000000000 +0100
+@@ -143,7 +143,7 @@
+  * however significantly reduce the security of your ssh connections
+  * if the PRNG state becomes guessable - make sure you know what you are
+  * doing if you change this. */
+-#define DROPBEAR_RANDOM_DEV "/dev/random"
++#define DROPBEAR_RANDOM_DEV "/dev/urandom"
+ /* prngd must be manually set up to produce output */
+ /*#define DROPBEAR_PRNGD_SOCKET "/var/run/dropbear-rng"*/