diff options
Diffstat (limited to 'debian/patches/random-default-fast.patch')
-rw-r--r-- | debian/patches/random-default-fast.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/random-default-fast.patch b/debian/patches/random-default-fast.patch new file mode 100644 index 00000000..40a429df --- /dev/null +++ b/debian/patches/random-default-fast.patch @@ -0,0 +1,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. */ |