mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00: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 (!i2p::data::CheckStaticKey(address->s, GetIdentHash()))
|
||||
if ((address->s[31] & 0x80) || !i2p::data::CheckStaticKey(address->s, GetIdentHash()))
|
||||
continue; // skip address
|
||||
|
||||
if (address->transportStyle == eTransportNTCP2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user