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

View File

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