refresh all package patches in the buildroot using quilt
[10.03/openwrt.git] / package / dropbear / patches / 140-use_dev_urandom.patch
1 Index: dropbear-0.49/options.h
2 ===================================================================
3 --- dropbear-0.49.orig/options.h        2007-06-04 13:21:39.394987720 +0200
4 +++ dropbear-0.49/options.h     2007-06-04 13:21:40.305849248 +0200
5 @@ -159,7 +159,7 @@
6   * however significantly reduce the security of your ssh connections
7   * if the PRNG state becomes guessable - make sure you know what you are
8   * doing if you change this. */
9 -#define DROPBEAR_RANDOM_DEV "/dev/random"
10 +#define DROPBEAR_RANDOM_DEV "/dev/urandom"
11  
12  /* prngd must be manually set up to produce output */
13  /*#define DROPBEAR_PRNGD_SOCKET "/var/run/dropbear-rng"*/