Browse Source

update keys for NTCP2 and SSU2 addreses

pull/1786/head
orignal 2 years ago
parent
commit
53934a470b
  1. 4
      libi2pd/RouterContext.cpp

4
libi2pd/RouterContext.cpp

@ -347,10 +347,11 @@ namespace i2p @@ -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 @@ -399,6 +400,7 @@ namespace i2p
{
(*it)->s = m_SSU2Keys->staticPublicKey;
(*it)->i = m_SSU2Keys->intro;
it++;
}
else
it = addresses.erase (it);

Loading…
Cancel
Save