From: Otto Moerbeek Date: Tue, 20 Jun 2023 11:46:50 +0000 (+0200) Subject: Fuzzing target needs arc4random as well X-Git-Tag: rec-5.0.0-alpha1~125^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4644f23733337f9ca481acd5c7243ed1ac464227;p=thirdparty%2Fpdns.git Fuzzing target needs arc4random as well --- diff --git a/ext/arc4random/arc4random.hh b/ext/arc4random/arc4random.hh index a130d7f8a6..b2f1060865 100644 --- a/ext/arc4random/arc4random.hh +++ b/ext/arc4random/arc4random.hh @@ -5,6 +5,6 @@ extern "C" { uint32_t arc4random(void); - void arc4random_buf(void *buf, size_t nbytes); + void arc4random_buf(void* buf, size_t nbytes); uint32_t arc4random_uniform(uint32_t upper_bound); } diff --git a/pdns/Makefile.am b/pdns/Makefile.am index 50f93222c2..5d188b1ce0 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -1536,7 +1536,7 @@ fuzz_targets_programs = \ fuzz_target_yahttp \ fuzz_target_zoneparsertng -fuzz_targets: $(fuzz_targets_programs) +fuzz_targets: $(ARC4RANDOM_LIBS) $(fuzz_targets_programs) bin_PROGRAMS += \ $(fuzz_targets_programs)