mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03: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 (!i2p::data::CheckStaticKey(address->s, GetIdentHash()))
|
||||
continue; // skip address
|
||||
|
||||
if (address->transportStyle == eTransportNTCP2)
|
||||
{
|
||||
if (isStaticKey)
|
||||
|
Loading…
Reference in New Issue
Block a user