mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
fuzz: Link all targets once
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user