Browse Source

repeat correction

pull/574/head
Jeff Becker 8 years ago
parent
commit
338b9928f0
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 2
      NetDb.cpp

2
NetDb.cpp

@ -748,7 +748,7 @@ namespace data
uint8_t numTags = sessionKey[32]; uint8_t numTags = sessionKey[32];
if (numTags > 0) if (numTags > 0)
{ {
sessionKey += 32; sessionKey += 33;
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);

Loading…
Cancel
Save