mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
OFF BY ONE
This commit is contained in:
parent
71cc4b5bf2
commit
586f241074
@ -748,7 +748,8 @@ namespace data
|
|||||||
uint8_t numTags = sessionKey[32];
|
uint8_t numTags = sessionKey[32];
|
||||||
if (numTags > 0)
|
if (numTags > 0)
|
||||||
{
|
{
|
||||||
const uint8_t * sessionTag = sessionKey + 33; // take first tag
|
sessionKey ++;
|
||||||
|
const uint8_t * sessionTag = sessionKey + 32; // take first tag
|
||||||
i2p::garlic::GarlicRoutingSession garlic (sessionKey, sessionTag);
|
i2p::garlic::GarlicRoutingSession garlic (sessionKey, sessionTag);
|
||||||
replyMsg = garlic.WrapSingleMessage (replyMsg);
|
replyMsg = garlic.WrapSingleMessage (replyMsg);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user