Browse Source

Recognize invalid static key

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

4
libi2pd/RouterInfo.cpp

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

Loading…
Cancel
Save