mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
check if s is x25519 public key
This commit is contained in:
parent
a9e9e14c42
commit
1bd6390f78
|
@ -363,7 +363,7 @@ namespace data
|
||||||
if (!s) return;
|
if (!s) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!i2p::data::CheckStaticKey(address->s, GetIdentHash()))
|
if ((address->s[31] & 0x80) || !i2p::data::CheckStaticKey(address->s, GetIdentHash()))
|
||||||
continue; // skip address
|
continue; // skip address
|
||||||
|
|
||||||
if (address->transportStyle == eTransportNTCP2)
|
if (address->transportStyle == eTransportNTCP2)
|
||||||
|
|
Loading…
Reference in a new issue