From 1ccbb8d10bf03d4b13dc0eac6559fd8f4cb1e961 Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 3 Jun 2022 14:02:31 -0400 Subject: [PATCH] correct offset for nonce in peer test message --- libi2pd/SSU2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/SSU2.cpp b/libi2pd/SSU2.cpp index 2eec58c8..4072d691 100644 --- a/libi2pd/SSU2.cpp +++ b/libi2pd/SSU2.cpp @@ -1301,7 +1301,7 @@ namespace transport void SSU2Session::HandlePeerTest (const uint8_t * buf, size_t len) { - uint32_t nonce = bufbe32toh (buf + 37); + uint32_t nonce = bufbe32toh (buf + 36); switch (buf[0]) // msg { case 1: // Bob from Alice