mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
correct offset for nonce in peer test message
This commit is contained in:
@@ -1301,7 +1301,7 @@ namespace transport
|
|||||||
|
|
||||||
void SSU2Session::HandlePeerTest (const uint8_t * buf, size_t len)
|
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
|
switch (buf[0]) // msg
|
||||||
{
|
{
|
||||||
case 1: // Bob from Alice
|
case 1: // Bob from Alice
|
||||||
|
|||||||
Reference in New Issue
Block a user