diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-09-27 16:16:54 -0700 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-09-27 16:16:54 -0700 |
commit | 2e83628d02199c8c371ce5792e5f08c7a090ab16 (patch) | |
tree | ed35a82bd07a33f5d2d911e5f33a0772656cacbd | |
parent | Merge pull request #6838 (diff) | |
parent | fuzz_tests: fix build error in signature fuzz test (diff) | |
download | monero-2e83628d02199c8c371ce5792e5f08c7a090ab16.tar.xz |
Merge pull request #6840
6ee9f1260 fuzz_tests: fix build error in signature fuzz test (moneromooo-monero)
-rw-r--r-- | tests/fuzz/signature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzz/signature.cpp b/tests/fuzz/signature.cpp index c587ff6cd..443057a57 100644 --- a/tests/fuzz/signature.cpp +++ b/tests/fuzz/signature.cpp @@ -59,6 +59,6 @@ BEGIN_INIT_SIMPLE_FUZZER() END_INIT_SIMPLE_FUZZER() BEGIN_SIMPLE_FUZZER() - tools::wallet2::message_signature_result_t result = wallet->verify("test", address, s); + tools::wallet2::message_signature_result_t result = wallet->verify("test", address, std::string((const char*)buf, len)); std::cout << "Signature " << (result.valid ? "valid" : "invalid") << std::endl; END_SIMPLE_FUZZER() |