aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/key.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/key.cpp')
-rw-r--r--src/test/fuzz/key.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/fuzz/key.cpp b/src/test/fuzz/key.cpp
index 955b954700..aa8f826e4a 100644
--- a/src/test/fuzz/key.cpp
+++ b/src/test/fuzz/key.cpp
@@ -26,14 +26,14 @@
#include <string>
#include <vector>
-void initialize()
+void initialize_key()
{
static const ECCVerifyHandle ecc_verify_handle;
ECC_Start();
SelectParams(CBaseChainParams::REGTEST);
}
-void test_one_input(const std::vector<uint8_t>& buffer)
+FUZZ_TARGET_INIT(key, initialize_key)
{
const CKey key = [&] {
CKey k;