diff options
| author | Gregory Maxwell <[email protected]> | 2017-02-05 17:37:13 +0000 |
|---|---|---|
| committer | Gregory Maxwell <[email protected]> | 2017-02-05 17:37:13 +0000 |
| commit | ac719c936dee55f386a8be88fe298d1b44b467dc (patch) | |
| tree | 25a7d4d60c2ac724a290ec68e8fd15a8d1a9b8c8 /src/test/test_bitcoin_fuzzy.cpp | |
| parent | Merge #9671: Fix super-unlikely race introduced in 236618061a445d2cb11e72 (diff) | |
| download | discoin-ac719c936dee55f386a8be88fe298d1b44b467dc.tar.xz discoin-ac719c936dee55f386a8be88fe298d1b44b467dc.zip | |
Init ECC context for test_bitcoin_fuzzy.
This avoids calling things like pubkey_parse with a null context argument.
Diffstat (limited to 'src/test/test_bitcoin_fuzzy.cpp')
| -rw-r--r-- | src/test/test_bitcoin_fuzzy.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_bitcoin_fuzzy.cpp b/src/test/test_bitcoin_fuzzy.cpp index 376d8e428..c4983f6f5 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; |