aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2017-02-05 17:37:13 +0000
committerGregory Maxwell <greg@xiph.org>2017-02-05 17:37:13 +0000
commitac719c936dee55f386a8be88fe298d1b44b467dc (patch)
tree25a7d4d60c2ac724a290ec68e8fd15a8d1a9b8c8 /src
parent7821db30e16149a3d8b7f467a4e5ac276af6ccbd (diff)
Init ECC context for test_bitcoin_fuzzy.
This avoids calling things like pubkey_parse with a null context argument.
Diffstat (limited to 'src')
-rw-r--r--src/test/test_bitcoin_fuzzy.cpp2
1 files changed, 2 insertions, 0 deletions
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 <stdint.h>
#include <unistd.h>
@@ -60,6 +61,7 @@ bool read_stdin(std::vector<char> &data) {
int main(int argc, char **argv)
{
+ ECCVerifyHandle globalVerifyHandle;
std::vector<char> buffer;
if (!read_stdin(buffer)) return 0;