mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 06:54:15 +00:00
Merge pull request #1919 from wekoq/openssl
Recognize invalid static key
This commit is contained in:
commit
fb83ca42f4
@ -362,6 +362,10 @@ namespace data
|
|||||||
}
|
}
|
||||||
if (!s) return;
|
if (!s) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!i2p::data::CheckStaticKey(address->s, GetIdentHash()))
|
||||||
|
continue; // skip address
|
||||||
|
|
||||||
if (address->transportStyle == eTransportNTCP2)
|
if (address->transportStyle == eTransportNTCP2)
|
||||||
{
|
{
|
||||||
if (isStaticKey)
|
if (isStaticKey)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user