aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-03-11 15:23:12 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-03-11 15:16:54 -0400
commitbbbbb53dd1111c615ea519e5f275a115616e5a33 (patch)
tree077cb735d6c57e648da2a743d586641a4717615c /src
parent58c72880ff70807cf622cdebf1d6273f4041bd2e (diff)
fuzz: Add missing ECC_Start to key_io test
Diffstat (limited to 'src')
-rw-r--r--src/test/fuzz/key_io.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/fuzz/key_io.cpp b/src/test/fuzz/key_io.cpp
index f44628b0f8..62aefb650d 100644
--- a/src/test/fuzz/key_io.cpp
+++ b/src/test/fuzz/key_io.cpp
@@ -16,7 +16,9 @@
void initialize()
{
- SelectParams(CBaseChainParams::REGTEST);
+ static const ECCVerifyHandle verify_handle;
+ ECC_Start();
+ SelectParams(CBaseChainParams::MAIN);
}
void test_one_input(const std::vector<uint8_t>& buffer)