let ipkg fail when a package file to be installed is not found
[openwrt/staging/dedeckeh.git] / openwrt / package / dropbear / patches / 140-use_dev_urandom.patch
1 diff -urN dropbear-0.45.old/options.h dropbear-0.45/options.h
2 --- dropbear-0.45.old/options.h 2005-03-14 17:12:22.000000000 +0100
3 +++ dropbear-0.45/options.h 2005-03-14 17:13:49.000000000 +0100
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"*/