diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/patches/random-default-fast.patch | 13 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 16 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 913f928f..f986ff1d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -30,6 +30,8 @@ hurd (20111030-1) UNRELEASED; urgency=low - Drop article from synopsis. - Tighten hurd-dev dependency on hurd to the same version. * debian/hurd-udeb.install: Only include the necessary console drivers. + * debian/patches/random-default-fast.patch: Set default randomness to fast, + until we set up a daemon to feed /dev/random with entropy. -- Samuel Thibault <sthibault@debian.org> Thu, 18 Aug 2011 01:15:04 +0000 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. */ diff --git a/debian/patches/series b/debian/patches/series index b0778a46..6533d49a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -30,3 +30,4 @@ libdiskfs_self-reauth.patch libdiskfs_sync.patch libpthread_globsigdisp.patch posix-sigcodes.patch +random-default-fast.patch |