mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01: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;
|
||||
memcpy ((*it)->i, m_NTCP2Keys->iv, 16);
|
||||
it++;
|
||||
}
|
||||
else
|
||||
it = addresses.erase (it);
|
||||
updated = true;;
|
||||
updated = true;
|
||||
}
|
||||
else
|
||||
it++;
|
||||
|
@ -399,6 +400,7 @@ namespace i2p
|
|||
{
|
||||
(*it)->s = m_SSU2Keys->staticPublicKey;
|
||||
(*it)->i = m_SSU2Keys->intro;
|
||||
it++;
|
||||
}
|
||||
else
|
||||
it = addresses.erase (it);
|
||||
|
|
Loading…
Reference in a new issue