From ac719c936dee55f386a8be88fe298d1b44b467dc Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Sun, 5 Feb 2017 17:37:13 +0000 Subject: Init ECC context for test_bitcoin_fuzzy. This avoids calling things like pubkey_parse with a null context argument. --- src/test/test_bitcoin_fuzzy.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/test/test_bitcoin_fuzzy.cpp b/src/test/test_bitcoin_fuzzy.cpp index 376d8e428a..c4983f6f5c 100644 --- a/src/test/test_bitcoin_fuzzy.cpp +++ b/src/test/test_bitcoin_fuzzy.cpp @@ -18,6 +18,7 @@ #include "streams.h" #include "undo.h" #include "version.h" +#include "pubkey.h" #include #include @@ -60,6 +61,7 @@ bool read_stdin(std::vector &data) { int main(int argc, char **argv) { + ECCVerifyHandle globalVerifyHandle; std::vector buffer; if (!read_stdin(buffer)) return 0; -- cgit v1.2.3