add single tag from destination's tread

This commit is contained in:
orignal 2014-12-08 15:36:00 -05:00
parent d1cca92459
commit b7d1b74ffa
5 changed files with 31 additions and 3 deletions

View file

@ -161,7 +161,7 @@ namespace i2p
buf[32] = 1; // 1 tag
rnd.GenerateBlock (buf + 33, 32); // tag
if (pool)
pool->GetGarlicDestination ().AddSessionKey (buf, buf + 33); // introduce new key-tag to garlic engine
pool->GetGarlicDestination ().SubmitSessionKey (buf, buf + 33); // introduce new key-tag to garlic engine
else
LogPrint ("Destination for encrypteed reply not specified");
buf += 65;