diff options
author | Andrew Poelstra <apoelstra@wpsoftware.net> | 2021-06-18 23:13:07 +0000 |
---|---|---|
committer | Andrew Poelstra <apoelstra@wpsoftware.net> | 2021-06-18 23:13:07 +0000 |
commit | 906d7913117c8f10934b37afa27ae8ac565da042 (patch) | |
tree | ee697b2ff66c40b056dceab7aa5663026246e9bb /src/test/fuzz/base_encode_decode.cpp | |
parent | 0f47e01d7d491fd240f4b14302bf9edf4f05142c (diff) | |
download | bitcoin-906d7913117c8f10934b37afa27ae8ac565da042.tar.xz |
fuzz: add missing ECCVerifyHandle to base_encode_decode
Diffstat (limited to 'src/test/fuzz/base_encode_decode.cpp')
-rw-r--r-- | src/test/fuzz/base_encode_decode.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/test/fuzz/base_encode_decode.cpp b/src/test/fuzz/base_encode_decode.cpp index 4470e13a61..2b4f15115b 100644 --- a/src/test/fuzz/base_encode_decode.cpp +++ b/src/test/fuzz/base_encode_decode.cpp @@ -14,7 +14,12 @@ #include <string> #include <vector> -FUZZ_TARGET(base_encode_decode) +void initialize_base_encode_decode() +{ + static const ECCVerifyHandle verify_handle; +} + +FUZZ_TARGET_INIT(base_encode_decode, initialize_base_encode_decode) { const std::string random_encoded_string(buffer.begin(), buffer.end()); |