diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-06 02:36:15 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-06 02:36:15 +0100 |
commit | 9de2db86b581cb0553d92c41191a53f35a67290b (patch) | |
tree | 6298ecb1569c93bd4eda0b88dd124125362838d3 /debian/patches/random-default-fast.patch | |
parent | c4cbd770cf2a9c78f0a88c79a2b574958c074997 (diff) |
debian/patches/random-default-fast.patch: Set default randomness to fast, until we set up a daemon to feed /dev/random with entropy.
Diffstat (limited to 'debian/patches/random-default-fast.patch')
-rw-r--r-- | debian/patches/random-default-fast.patch | 13 |
1 files changed, 13 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..555b3045 --- /dev/null +++ b/debian/patches/random-default-fast.patch @@ -0,0 +1,13 @@ +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. */ |