mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
OFF BY ONE
This commit is contained in:
parent
71cc4b5bf2
commit
586f241074
1 changed files with 2 additions and 1 deletions
|
@ -748,7 +748,8 @@ namespace data
|
|||
uint8_t numTags = sessionKey[32];
|
||||
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);
|
||||
replyMsg = garlic.WrapSingleMessage (replyMsg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue