aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/key_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/key_io.cpp')
-rw-r--r--src/test/fuzz/key_io.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/fuzz/key_io.cpp b/src/test/fuzz/key_io.cpp
index 62aefb650d..665ca01fa1 100644
--- a/src/test/fuzz/key_io.cpp
+++ b/src/test/fuzz/key_io.cpp
@@ -14,14 +14,14 @@
#include <string>
#include <vector>
-void initialize()
+void initialize_key_io()
{
static const ECCVerifyHandle verify_handle;
ECC_Start();
SelectParams(CBaseChainParams::MAIN);
}
-void test_one_input(const std::vector<uint8_t>& buffer)
+FUZZ_TARGET_INIT(key_io, initialize_key_io)
{
const std::string random_string(buffer.begin(), buffer.end());