1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 12:24:19 +00:00

correct last commit

This commit is contained in:
Jeff Becker 2016-07-15 10:44:43 -04:00
parent 586f241074
commit b9607b4b8e
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -748,7 +748,7 @@ namespace data
uint8_t numTags = sessionKey[32]; uint8_t numTags = sessionKey[32];
if (numTags > 0) if (numTags > 0)
{ {
sessionKey ++; sessionKey += 32;
const uint8_t * sessionTag = sessionKey + 32; // take first tag 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);