mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-16 12:21:47 +02:00
check routers with non ElGamal encryptions for lookup, publish and tunnel build
This commit is contained in:
parent
801ecaa41c
commit
d65a282e9d
3 changed files with 19 additions and 11 deletions
libi2pd
|
@ -153,12 +153,6 @@ namespace data
|
|||
m_IsUnreachable = true;
|
||||
return;
|
||||
}
|
||||
if (m_RouterIdentity->GetCryptoKeyType () != CRYPTO_KEY_TYPE_ELGAMAL)
|
||||
{
|
||||
// we support ElGamal only. TODO: remove later
|
||||
m_IsUnreachable = true;
|
||||
return;
|
||||
}
|
||||
if (verifySignature)
|
||||
{
|
||||
// reject RSA signatures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue