aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/signature.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-09-24 11:47:09 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-09-24 15:17:57 +0000
commit6ee9f1260770d24ac100fe9eb5d90d367d440e23 (patch)
tree298ab98bdb0e1d934cbe5359d88bfeb580cc7e2d /tests/fuzz/signature.cpp
parentMerge pull request #6819 (diff)
downloadmonero-6ee9f1260770d24ac100fe9eb5d90d367d440e23.tar.xz
fuzz_tests: fix build error in signature fuzz test
Diffstat (limited to 'tests/fuzz/signature.cpp')
-rw-r--r--tests/fuzz/signature.cpp2
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()