about summary refs log tree commit diff
path: root/src/afl-fuzz-state.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-06-16 01:29:07 +0200
committerhexcoder- <heiko@hexco.de>2020-06-16 01:29:07 +0200
commitbac2da866912d69eb89207757375f0753be2cae2 (patch)
tree9f1a710a6282d4cf4cb9752024c3040eaf40b869 /src/afl-fuzz-state.c
parent9c293b5b7b941d8046e77989f100d084a516d029 (diff)
downloadafl++-bac2da866912d69eb89207757375f0753be2cae2.tar.gz
fix for *BSD: remove all HAVE_ARC4RANDOM dependencies
Diffstat (limited to 'src/afl-fuzz-state.c')
-rw-r--r--src/afl-fuzz-state.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/afl-fuzz-state.c b/src/afl-fuzz-state.c
index 99863103..f1474f33 100644
--- a/src/afl-fuzz-state.c
+++ b/src/afl-fuzz-state.c
@@ -124,9 +124,7 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) {
 
   afl->stats_update_freq = 1;
 
-#ifndef HAVE_ARC4RANDOM
   afl->fsrv.dev_urandom_fd = -1;
-#endif
   afl->fsrv.dev_null_fd = -1;
 
   afl->fsrv.child_pid = -1;