Browse Source

Recognize invalid static key

pull/1919/head
weko 1 year ago
parent
commit
ec2297ed9d
  1. 4
      libi2pd/RouterInfo.cpp

4
libi2pd/RouterInfo.cpp

@ -362,6 +362,10 @@ namespace data @@ -362,6 +362,10 @@ namespace data
}
if (!s) return;
}
if (!i2p::data::CheckStaticKey(address->s, (*m_RouterIdentity).GetIdentHash()))
continue; // skip address
if (address->transportStyle == eTransportNTCP2)
{
if (isStaticKey)

Loading…
Cancel
Save