aboutsummaryrefslogtreecommitdiffstats
path: root/src/fripost-partman-udeb/base.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/fripost-partman-udeb/base.sh')
-rw-r--r--src/fripost-partman-udeb/base.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/fripost-partman-udeb/base.sh b/src/fripost-partman-udeb/base.sh
index d757670..449d3ae 100644
--- a/src/fripost-partman-udeb/base.sh
+++ b/src/fripost-partman-udeb/base.sh
@@ -52,13 +52,13 @@ wait_for_device() {
[ -b "$device" ] || fatal "Error: $device not found!"
}
-# The non-blocking PRNG /dev/urandom doesn't block if it has been seeded
-# enough, sadly (e.g., if the entropy pool is empty). Reading a few
-# bytes from the *blocking* should ensure that "the kernel RNG has [...]
-# reach full entropy at least once, which guarantees cryptographic
-# quality of the rest of the /dev/urandom stream." -- Tor bug #10676.
-# See also urandom(4). (XXX It's possible that the debian installer
-# does that already.)
+# The non-blocking PRNG /dev/urandom doesn't block if it hasn't been
+# seeded enough, sadly (e.g., if the entropy pool is empty). Reading a
+# few bytes from the *blocking* PRNG should ensure that "the kernel RNG
+# has [...] reach full entropy at least once, which guarantees
+# cryptographic quality of the rest of the /dev/urandom stream." -- Tor
+# bug #10676. See also urandom(4). (XXX It's possible that the debian
+# installer does that already.)
seed_urandom() {
local seed=/var/run/random-seed fifo n records dir
local poolfile=/proc/sys/kernel/random/poolsize bytes=512