Merge pull request #1919 from wekoq/openssl

Recognize invalid static key
This commit is contained in:
orignal 2023-05-01 16:17:00 -04:00 committed by GitHub
commit fb83ca42f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)