mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
tests: Allow for using non-default fuzzing initialization
This commit is contained in:
parent
c34b88620d
commit
fdef8bbf2f
2 changed files with 4 additions and 2 deletions
|
|
@ -22,7 +22,9 @@ static bool read_stdin(std::vector<uint8_t>& data)
|
|||
return length == 0;
|
||||
}
|
||||
|
||||
static void initialize()
|
||||
// Default initialization: Override using a non-weak initialize().
|
||||
__attribute__((weak))
|
||||
void initialize()
|
||||
{
|
||||
const static auto verify_handle = MakeUnique<ECCVerifyHandle>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue