mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
insert garlic tag in destination's thread
This commit is contained in:
parent
4c323a666a
commit
990906c57f
5 changed files with 26 additions and 3 deletions
|
@ -114,7 +114,7 @@ namespace tunnel
|
|||
uint8_t key[32];
|
||||
uint64_t tag = m_Config->GetLastHop ()->GetGarlicKey (key);
|
||||
if (m_Pool && m_Pool->GetLocalDestination ())
|
||||
m_Pool->GetLocalDestination ()->AddECIESx25519Key (key, tag);
|
||||
m_Pool->GetLocalDestination ()->SubmitECIESx25519Key (key, tag);
|
||||
else
|
||||
i2p::context.AddECIESx25519Key (key, tag);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue