mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fixed race condition in ECIESx25519 tags table
This commit is contained in:
parent
828facab57
commit
2ad26dd4c9
3 changed files with 23 additions and 2 deletions
|
@ -116,7 +116,7 @@ namespace tunnel
|
|||
if (m_Pool && m_Pool->GetLocalDestination ())
|
||||
m_Pool->GetLocalDestination ()->SubmitECIESx25519Key (key, tag);
|
||||
else
|
||||
i2p::context.AddECIESx25519Key (key, tag);
|
||||
i2p::context.SubmitECIESx25519Key (key, tag);
|
||||
}
|
||||
i2p::transport::transports.SendMessage (GetNextIdentHash (), msg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue