mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
update keys for NTCP2 and SSU2 addreses
This commit is contained in:
parent
a94ae7d77d
commit
53934a470b
@ -347,10 +347,11 @@ namespace i2p
|
|||||||
{
|
{
|
||||||
(*it)->s = m_NTCP2Keys->staticPublicKey;
|
(*it)->s = m_NTCP2Keys->staticPublicKey;
|
||||||
memcpy ((*it)->i, m_NTCP2Keys->iv, 16);
|
memcpy ((*it)->i, m_NTCP2Keys->iv, 16);
|
||||||
|
it++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
it = addresses.erase (it);
|
it = addresses.erase (it);
|
||||||
updated = true;;
|
updated = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
it++;
|
it++;
|
||||||
@ -399,6 +400,7 @@ namespace i2p
|
|||||||
{
|
{
|
||||||
(*it)->s = m_SSU2Keys->staticPublicKey;
|
(*it)->s = m_SSU2Keys->staticPublicKey;
|
||||||
(*it)->i = m_SSU2Keys->intro;
|
(*it)->i = m_SSU2Keys->intro;
|
||||||
|
it++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
it = addresses.erase (it);
|
it = addresses.erase (it);
|
||||||
|
Loading…
Reference in New Issue
Block a user