mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 00:59:08 +01:00
Recognize invalid static key
This commit is contained in:
parent
7c535159bc
commit
ec2297ed9d
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue