mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
delete symmkey on cleanup
This commit is contained in:
parent
a05a54b38e
commit
da1e52357f
3 changed files with 13 additions and 2 deletions
|
@ -817,7 +817,10 @@ namespace garlic
|
|||
for (auto it = m_ECIESx25519Tags.begin (); it != m_ECIESx25519Tags.end ();)
|
||||
{
|
||||
if (it->second.tagset->IsExpired (ts) || it->second.tagset->IsIndexExpired (it->second.index))
|
||||
{
|
||||
it->second.tagset->DeleteSymmKey (it->second.index);
|
||||
it = m_ECIESx25519Tags.erase (it);
|
||||
}
|
||||
else
|
||||
++it;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue