Skip to content

Commit ac719c9

Browse files
committed
Init ECC context for test_bitcoin_fuzzy.
This avoids calling things like pubkey_parse with a null context argument.
1 parent 7821db3 commit ac719c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/test_bitcoin_fuzzy.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "streams.h"
1919
#include "undo.h"
2020
#include "version.h"
21+
#include "pubkey.h"
2122

2223
#include <stdint.h>
2324
#include <unistd.h>
@@ -60,6 +61,7 @@ bool read_stdin(std::vector<char> &data) {
6061

6162
int main(int argc, char **argv)
6263
{
64+
ECCVerifyHandle globalVerifyHandle;
6365
std::vector<char> buffer;
6466
if (!read_stdin(buffer)) return 0;
6567

0 commit comments

Comments
 (0)