From 6ee9f1260770d24ac100fe9eb5d90d367d440e23 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 24 Sep 2020 11:47:09 +0000 Subject: fuzz_tests: fix build error in signature fuzz test --- tests/fuzz/signature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/fuzz') 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() -- cgit v1.2.3