mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 21:03:28 +01:00
Merge pull request #6840
6ee9f1260
fuzz_tests: fix build error in signature fuzz test (moneromooo-monero)
This commit is contained in:
commit
2e83628d02
@ -59,6 +59,6 @@ BEGIN_INIT_SIMPLE_FUZZER()
|
|||||||
END_INIT_SIMPLE_FUZZER()
|
END_INIT_SIMPLE_FUZZER()
|
||||||
|
|
||||||
BEGIN_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;
|
std::cout << "Signature " << (result.valid ? "valid" : "invalid") << std::endl;
|
||||||
END_SIMPLE_FUZZER()
|
END_SIMPLE_FUZZER()
|
||||||
|
Loading…
Reference in New Issue
Block a user