summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-09-02 21:59:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-09-02 21:59:38 +0000
commit2224537b02ff2b8c0e8e2c162297e400018497f2 (patch)
tree1f6df651af232c11b641d0c4c81b89f723e0e424 /usr.sbin
parent65a6596e435430ccd88f5ed70ce512c27b5e9864 (diff)
There is no need to call arc4random_addrandom() and feed it some
stupid seed that bind has decided on..
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bind/lib/isc/random.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/bind/lib/isc/random.c b/usr.sbin/bind/lib/isc/random.c
index ac9bde7b8cb..8730d5213e9 100644
--- a/usr.sbin/bind/lib/isc/random.c
+++ b/usr.sbin/bind/lib/isc/random.c
@@ -68,8 +68,6 @@ isc_random_seed(isc_uint32_t seed)
#ifndef HAVE_ARC4RANDOM
srand(seed);
-#else
- arc4random_addrandom((u_char *) &seed, sizeof(isc_uint32_t));
#endif
}