mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
add single tag from destination's tread
This commit is contained in:
parent
d1cca92459
commit
b7d1b74ffa
5 changed files with 31 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue