aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/timedata.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-12-03 16:42:49 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-12-10 07:15:42 +0100
commit44444ba759480237172d83f42374c5c29c76eda0 (patch)
treeaefce76c13c39192d4922a88749755dbc2decc11 /src/test/fuzz/timedata.cpp
parent751ffaabad82f7904fd1d9742a0b323a0ab7bfee (diff)
fuzz: Link all targets once
Diffstat (limited to 'src/test/fuzz/timedata.cpp')
-rw-r--r--src/test/fuzz/timedata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/timedata.cpp b/src/test/fuzz/timedata.cpp
index a0e579a88f..d7fa66298a 100644
--- a/src/test/fuzz/timedata.cpp
+++ b/src/test/fuzz/timedata.cpp
@@ -11,7 +11,7 @@
#include <string>
#include <vector>
-void test_one_input(const std::vector<uint8_t>& buffer)
+FUZZ_TARGET(timedata)
{
FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size());
const unsigned int max_size = fuzzed_data_provider.ConsumeIntegralInRange<unsigned int>(0, 1000);