Browse Source

when forcing a re-key, might as well toss in dmesg as additional seed

material
OPENBSD_5_5
deraadt 11 years ago
parent
commit
278b68e64a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.411 2013/12/27 04:21:03 deraadt Exp $
# $OpenBSD: rc,v 1.412 2013/12/27 04:21:48 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -358,7 +358,7 @@ if [ -f /etc/resolv.conf.save ]; then
touch /etc/resolv.conf
fi
. /etc/netstart
echo rekey > /dev/random # any write triggers an RC4 rekey
dmesg > /dev/random # any write triggers an RC4 rekey
if [ X"${pf}" != X"NO" ]; then
if [ -f ${pf_rules} ]; then


Loading…
Cancel
Save