openwrt/package/dropbear/patches/140-use_dev_urandom.patch

14 lines
632 B
Diff

Index: dropbear-0.49/options.h
===================================================================
--- dropbear-0.49.orig/options.h 2007-06-04 13:21:39.394987720 +0200
+++ dropbear-0.49/options.h 2007-06-04 13:21:40.305849248 +0200
@@ -159,7 +159,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"*/