From 5ef7b9560bb76f8c1830bea2092898183102e6fc Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 7 Nov 2006 19:32:51 +0000 Subject: [PATCH] add the dropbear /dev/urandom patch again - helps on systems where wifi is disabled SVN-Revision: 5467 --- .../dropbear/patches/140-use_dev_urandom.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 openwrt/package/dropbear/patches/140-use_dev_urandom.patch 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 index 0000000000..e1424f59a3 --- /dev/null +++ b/openwrt/package/dropbear/patches/140-use_dev_urandom.patch @@ -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"*/ -- 2.30.2