mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03: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 New Issue
Block a user