diff options
author | Alexander Blair <snipa@jagtech.io> | 2021-01-01 22:35:59 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2021-01-01 22:35:59 -0800 |
commit | 16c780d5688c7931ca6f55537c9cc8c1d4abc3dd (patch) | |
tree | 9efba2d35c48d1f6b592d54211b1bd52bfed0a36 /tests/fuzz | |
parent | Merge pull request #7246 (diff) | |
parent | Add aggressive restrictions to pre-handshake p2p buffer limit (diff) | |
download | monero-16c780d5688c7931ca6f55537c9cc8c1d4abc3dd.tar.xz |
Merge pull request #7250
61b6e4cc6 Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
Diffstat (limited to '')
-rw-r--r-- | tests/fuzz/levin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/fuzz/levin.cpp b/tests/fuzz/levin.cpp index b090c350b..079ea7dae 100644 --- a/tests/fuzz/levin.cpp +++ b/tests/fuzz/levin.cpp @@ -52,6 +52,8 @@ namespace struct test_levin_connection_context : public epee::net_utils::connection_context_base { + static constexpr int handshake_command() noexcept { return 1001; } + static constexpr bool handshake_complete() noexcept { return true; } }; typedef epee::levin::async_protocol_handler_config<test_levin_connection_context> test_levin_protocol_handler_config; |