summaryrefslogtreecommitdiff
path: root/debian/patches/random-default-fast.patch
blob: 40a429df2ce7cc5a683a7efe9b13bb27f20fe79b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
level 2 requires getting fed with entropy, which we don't have enough for now.

diff --git a/random/random.c b/random/random.c
index 0ae31f5..c732356 100644
--- a/random/random.c
+++ b/random/random.c
@@ -50,7 +50,7 @@ struct condition select_alert;	/* For read and select.  */
    numbers.
    2: Strong random numbers with a somewhat guaranteed entropy.
 */
-#define DEFAULT_LEVEL 2
+#define DEFAULT_LEVEL 1
 static int level = DEFAULT_LEVEL;
 
 /* Name of file to use as seed.  */